Software How to Install Android Studio on Ubuntu and Linux Mint (Version 3.1)

How to Install Android Studio on Ubuntu and Linux Mint (Version 3.1)

This article is an Evergreen Content by UbuntuPIT. You can safely save it to your bookmarks as it will always be updated from time to time according to any new release/information.

If you are an android application developer then Android Studio software is must have for your Linux environment. This app is a free and open source multi-platform supported and java based developer tools which help the developer to create and develop their android based applications. It comes from Google as an android tools project that is also based on Linux kernel.

It provides the options, a graphical user interface (GUI), to create an app project, import existing project, change the configuration, run the app in debug mode, and overall, offers all the opportunity to make cross-platform Android apps for various devices.

SEE MORE – Best Linux Code Editor: Top 10 Reviewed and Compared

How to Install it on Ubuntu

Method 1 – Ubuntu Software Center or as Snap Package:

Open Ubuntu Software Center and search for Android Studio and install or you can use command line tool – Terminal to install Android Studio. Just run the following command:

snap install android-studio --classic

For Ubuntu 14.04 and Ubuntu 16.04, you need to install first snapd daemon. Open terminal either via Ctrl+Alt+T or by searching ‘terminal’ from app launcher. When it opens, run the command:

sudo apt-get install snapd snapd-xdg-open

Method 2 – Using Unofficial PPA :

Install Java First

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 Android Studio

sudo add-apt-repository ppa:paolorotolo/android-studio
sudo apt-get update
sudo apt-get install android-studio

Remove Android Studio

sudo apt-get install ppa-purge
sudo apt-get remove android-studio
sudo ppa-purge ppa:paolorotolo/android-studio

Method 3 – Install Android Studio using official Canonical’s Ubuntu Make

Installing Ubuntu Make :
Ubuntu 14.04 LTS

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

Ubuntu 15.10 and up

sudo apt-get install ubuntu-make

Version Check

umake --version

Installing Android Studio :

umake android

If you are running a 64-bit version of Ubuntu (16.04), you need to install some 32-bit libraries:

sudo apt-get install lib32stdc++6

or

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6

For more information follow the official documents

If you face any error message related to license, run the following command :

umake android --accept-license

Remove the Android Studio

umake android --remove

During the process of installation, you may find some on-screen configuration. Complete those very carefully.

SEE MORE – How to Install Kodi on Ubuntu, Debian, Arch Linux, and OpenSUSE

Extra Tips

#Make a desktop file

Run the following command into the terminal to create a desktop file

nano ~/.local/share/applications/androidstudio.desktop

Add The Bellow Lines to It

[Desktop Entry]
Version=1.0
Type=Application
Name=Android Studio
Exec="/opt/android-studio/bin/studio.sh" %f
Icon=/opt/android-studio/bin/studio.png
Categories=Development;IDE;
Terminal=false
StartupNotify=true
StartupWMClass=android-studio

SEE MORE – How to Install Lollypop Music Player on Ubuntu / Linux Mint

Note: The features mentioned here are not all-inclusive. The features mentioned are compiled either from their respective official websites or from my personal experience using them.

PS: If you liked this tutorial on how to install Android Studio on Ubuntu, please share it with your friends through the social networks or simply leave a reply below. Thanks.

LATEST POST

fractal software

Best 15 Fractal Software for Linux For Beginners and Professionals

Are you seriously seeking to know about some fantastic fractal software for Linux? It may seem to be a common and normal thing to...
Top 10 Best Comic Book Viewers for Linux System

Top 10 Best Comic Book Viewers for Linux System

There is hardly anyone who is not acquainted with comic books. Most of us grew old reading these books. These helped us to pass...
25 Most Common IoT Security Threats in an Increasingly Connected World

25 Most Common IoT Security Threats in an Increasingly Connected World

The Internet of Things (IoT) is growing rapidly. IoT is the connectivity of devices over the internet. It’s like a social network or an...

MOST COMMENTED

Linux or Windows: 25 Things You Must Know While Choosing The Best Platform

Linux or Windows: 25 Things You Must Know While Choosing The Best Platform

Choosing the best platform - Linux or Windows is complicated. Because both the system is versatile and capable of doing many mission-oriented and regular...
Most Stable Linux Distros

Most Stable Linux Distros: 5 versions of Linux We Recommend

At the very beginning, I would like to mention why the term ‘Stable’ comes in relation to Linux OS or distro. Because there are...
Best Things To Do After Installing Linux Mint

15 Best Things To Do After Installing Linux Mint 19 “Tara”

Linux Mint is one of the best Linux distros for newcomers, especially who comes from other Operating Systems like Windows and MacOS. Linux Mint...

Hand-Picked Related Post

1 COMMENT

  1. Very nice tutorial, but, i heaved some issues, so, i download the Linux version of the android studio, i unzip it, and then with the terminal CD: bin and type ./studio.sh
    it worked.

LEAVE A REPLY

Please enter your comment!
Please enter your name here