How to install Android Studio in Ubuntu, elementary OS, and Linux Mint

The easiest way to install Android Studio on Ubuntu based distros is by using ‘Make’ command. The command takes care of lot of manual things that would most of time be default settings. Without wasting much time, let’s get started.

android-studio

Install Java

First step in this process is to install Java. Launch ‘Terminal’ and run the following commands one at a time.

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer 

sudo apt-get install oracle-java8-set-default

Install Ubuntu Make & Android Studio

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
sudo apt update
sudo apt install ubuntu-make

umake android

If there is an error message about a license issue, it can be corrected using an additional command:

umake android --accept-license

That’s it. Android Studio will now get downloaded and then installed. You will have to follow the simple on-screen instructions to complete the installation. After the installation is complete, you should be able to launch ‘Android Studio’ from ‘Applications’.

Kiran Kumar
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

1 COMMENT

  1. Regarding the 3rd command in java, it is showing error
    “Package oracle-java8-installer is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source

    E: Package ‘oracle-java8-installer’ has no installation candidate”

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

24,108FansLike
213FollowersFollow
8SubscribersSubscribe

LATEST ARTICLES

best linux distros beginners
Making the shift to Linux is not as complicated as some people make it out to be. There is a variety of Linux distributions available that cater to the needs of people who are planning on making the jump to Linux from any other operating system.
MX Linux 19 Features and Desktop Tour
MX Linux is a Linux distribution based on Debian stable and using core antiX components. The distributions MX Tools is very popular among users and combined with other several ready-to-use tools, it is great for users who prefer to tweak their distro to their liking. In this video, we will take you through the features tour showing casing MX Linux 19.
manjaro complete usb drive
In this tutorial, we will show step by step how to install a Manjaro on a USB flash. For those new to this distro, it is a light-weight distro that is based on Arch Linux. Arch Linux is known for its simplistic approach and is typically made for Linux pros, but Manjaro bridges the gap between user-friendliness and rock-solid performance.