Linux.com

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:

studio

 

Comments

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

  • 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 studio.sh see http://www.webupd8.org/2014/05/install-android-studio-in-ubuntu-via-ppa.html

  • 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 studio.sh see http://www.webupd8.org/2014/05/install-android-studio-in-ubuntu-via-ppa.html

  • 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?

  • rubo77 Said:

    You should also install Oracle Java 7: http://askubuntu.com/a/106496/34298 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!" http://www.webupd8.org/2014/09/canonical-releases-ubuntu-developer.html

  • 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. http://www.mobilepundits.com/Outsource_Android_Development.html

  • @strictgryphon Said:

    By far this has been the simplest method of installing the Studio, the instructions on the http://developer.android.com/ 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 studio.sh 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 linux.com 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.

Upcoming Linux Foundation Courses

  1. LFD312 Developing Applications For Linux
    05 Jan » 09 Jan - Virtual
    Details
  2. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details

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