There is another alternative. Integrated Development Environments (IDEs) are supposed to make programming easier, one problem with them however is that it can be difficult to install the latest version of an IDE on a Linux system (Ubuntu) if they are not in the repos. Android Studio is one such IDE.
Android Studio is the official IDE for Android application
development, based on IntelliJ IDEA. On top of the capabilities you
expect from IntelliJ, Android Studio offers: Flexible Gradle-based
build system Build variants and multiple apk file generation Code
templates to help you build common app features Rich layout editor
with support for drag and drop theme editing lint tools to catch
performance, usability, version compatibility, and other problems
ProGuard and app-signing capabilities Built-in support for Google
Cloud Platform, making it easy to integrate Google Cloud Messaging and
Extracted from: http://developer.android.com/tools/studio/index.html
Follow this procedure:
- Firstly execute the following command.
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make
- Then update the repo.
sudo apt-get update
- Now install the software:
sudo apt-get install ubuntu-make
- You will see all the package it will install, type ‘y’ to tell Ubuntu to proceed with the installation. Once you are done with it. Proceed with the following.
Leave the installation path as the default value;
Press enter again.
You will have to agree to the license by typing ‘a’ then download starts.
Android Studio will then present you with a wizard, just keep hitting next and agree to the license. It will then proceed to download requirements for Android development, such as the latest Android SDK. Click on ‘Finish’ once the installation of required packages is complete.