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,719FansLike
164FollowersFollow

LATEST ARTICLES

How to create an Arch Linux Live USB drive on Ubuntu

create Arch Linux Live USB drive
This article provides a step-by-step guide on creating an Arch Linux USB installation media on Ubuntu PC. The Live USB media can be used to install Arch Linux.