Home Linux Community Community Blogs Mobile Mobile Development: How to Install Android Studio on Ubuntu Version 14.04

Mobile Development: How to Install Android Studio on Ubuntu Version 14.04

This article is focused towards Android App Development in a Linux distribution, especially in Ubuntu 14.04 environment using the Android Studio.

Android Studio, is an IntelliJ IDEA-based Android development environment, which is currently in the Beta stage. It is packed with multi-features and improvements over Eclipse ADT. As currently it is in beta stage, once it reaches to the final stage of development, it will be known as Android IDE. It provides a comprehensive tool for developing and debugging applications for the Google operating system for mobile devices. With the help of IntelliJ, the Android Studio offers the following features:

  • Flexible Gradle-based build system.
  • Ability to generate and build multiple APK & variants, respectively.
  • Extended template support for Google-based services and several types of devices.
  • Theme editing support with rich layout editor.
  • Catch the performance, usability, version compatibility, and other problems with the Lint tools.
  • Fully capable of ProGuard and app-signing.
  • Easily integrate Google Cloud Messaging and App Engine with its built-in support for Google Cloud Platform.

Download the Android Studio from here.
This download includes:

  • Android Studio Beta.
  • All the Android SDK Tools to design, test, and debug your app.
  • A version of the Android platform to compile your app.
  • A version of the Android system image to run your app in the emulator.

The following procedure is for installing Android Studio, and therefore does not serve to update it. That's because the program has its own "Update Manager". With this update to Android Studio to the latest version, just click "Check for updates now" in the welcome screen, and simply click "Update and Restart":

Update Android Studio

Please remember that, the package will try to install one of these JDKs: default-jdk, oracle-java7-installer or oracle-java8-installer. So, just make sure that, installing the Android Studio, install one of these packages via the PPA repository.

How to Install Android Studio on Ubuntu Studio 14.04?

In order to install Android Studio on Ubuntu Studio 14.04 and derivatives, do the following:

Step 1: Open a terminal using the Dash or pressing Ctrl + Alt + T keys.
Step 2: If you have not, add that repository with the following command:

sudo add-apt-repository ppa: paolorotolo / android-studio

Step 3: Update the APT with the command:

sudo apt-get update

Step 4: Now install the program with the command:

sudo apt-get install android-studio

Step 5: Once installed, run the program by typing in Dash:




Subscribe to Comments Feed
  • Malte Said:

    There's a mistake, the repository name in the add-apt-repository command should not contain spaces. So the correct command to add the PPA is sudo add-apt-repository ppa:paolorotolo/android-studio

  • Akshayraj Kore Said:

    This is correct. There should not be spaces.

  • riturathin Said:

    This is the correct command. Works fine for me

  • Dilip Said:

    There is an error unable to locate android studio

  • muhammad siddique Said:

    sudo add-apt-repository ppa:paolorotolo/android-studio kindly past above command for run apt-get install andorid-studio

  • jeff Said:

    its there, just not where you expect it , type the following four commands: cd .. cd .. cd /usr/share/android-studio/data/bin sudo bash see

  • jeff Said:

    its there, just not where you expect it , type the following four commands: cd .. cd .. cd /usr/share/android-studio/data/bin sudo bash see

  • Arjan Said:

    Hey thanks! you saved the day! :) I was already beginning to scratch my head here...

  • rubo77 Said:

    It is a bit confusing, that in the first part it sais: "Download the Android Studio from *here*" and in the second it describes how to download it via apt. It seems like two ways of achieving the same goal, but if you read this page, you start downloading it and continue reading while you download and downloads it again via apt. What is the benefit of apt vs. download?

  • Common Sense Said:

    How about you read the whole document before following each step one after the other without knowing what happens at the end... Of learn some base knowledge for linux and understand that you always have to two ways of installing something... The only fault here is yours.

  • rubo77 Said:

    You should also install Oracle Java 7: After the installation finishes, if you wish to see if it was successful, you can run the following command: java -version

  • Andrei Said:

    The installation went fine, but when i type „studio” in the dash, there is no result. I also installed java 7.

  • kevin gordon Said:

    Warning: "Update September 2, 2014: Canonical released Ubuntu Developer Tools Center which can be used to easily install Android Studio and Android SDK in Ubuntu. That's the official, supported method of installing Android Studio in Ubuntu now!"

  • Jim Knock Said:

    I found it installed in cd /opt/share/android-studio/bin

  • MobilePundits Said:

    In the mean time, I am running netflix-desktop on Ubuntu through wine. It works great for me. A good idea at the time, Silverlight just didn't gain enough traction and the limited platforms meant it wasn't going to be easy to get on mobile devices. But android studio with ubuntu works well, no doubt it is highly secure too.

  • @strictgryphon Said:

    By far this has been the simplest method of installing the Studio, the instructions on the site leave a good deal to be desired. Nothing n00b about providing clear written instructions is there? That's just good practice (I digress). So, I found my installation had gone to /opt/android-studio/ Changing my current working directory I then executed the shell script. /opt/android-studio/bin$ sudo bash This then took me through the setup GUI wizard and also commenced a download of latest Android SDK. It did take a while to get the download (would be better if they gave you an option to get it from a local mirror) but otherwise it all worked as expected.

  • Archivista Said:

    I would say it is a shame that on domain there are editors and writers not understanding that information actually is not valid forever. It would be great if you would learn, as a good thing for 2015, that if you want to have a good website, a site that is useful, you must take care for the information you publish, this is not a hit-and-run game. If you write something, you should take measures to understand if the information is still valid a few months later. A good content management system will help you with this. what we see here is a good example for a website-writing antipattern. I recommend the author and the editor try to learn the differences about the paper news and the internet, it i sjust 20 years of www now, so you still have some time to adapt, but I think it will be to late to feel yourself at the spearhead of technological development. However, you are still accepted.

  • bob Said:

    here is the correct cmd sudo add-apt-repository ppa:paolorotolo/android-studio

  • Ted Said:

    Thanks, this was very helpful. Specially after going through hours of attempts based on other guidelines that did not work. Wish i have found this thread at first attempt

  • Sabarish Said:

    Use this updated link for installation...

  • vivek Said:

    when i run emulator its coming error like force to 32 bit like tat. please help me to get rid out of this

  • d-joseph-bergeron Said:

    1- this use openJDK instead of Oracle JDK and try to uninstall OpenJDK unsintall it. 2- this use an outdated version of Android Studio 3- updating android studio to a recent version with this installed doesn't work 4- updating android studio when a "normal user" even when using "sudo" doesn't work

  • sandeep yadav Said:

    when i am tyed studio in dash replyed me studio not found

  • Nona Said:

Upcoming Linux Foundation Courses

  1. LFS101 Introduction to Linux
    01 Jan » 31 Dec - Online Self-Paced
  2. LFS201 Essentials of System Administration
    01 Jan » 31 Dec - Online Self-Paced
  3. LFS201-Esp Fundamentos de Administración de Sistemas Linux
    01 Jan » 31 Aug - Online Self-Paced

View All Upcoming Courses

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board