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

23,843FansLike
267FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

How to create a Fedora Games Live USB drive in Linux

One of the best Fedora spins that has been for a while and also being well maintained is the Fedora Games. The Fedora Games spin is a great showcase of the best games available in the Fedora operating system.
best music players for linux
For sure, there will be Linux users out there who cannot live without music. If you're one of those people, you would know how important it is to have a good music player installed on your computer system. In this article, we present to you the 5 Best Music Players for Linux, which will hopefully be able to satisfy each of our readers' needs.
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.