1. Install the JDK (I am installing Oracle instead of OPENJDK)
JDK Directory: Usr/lib/jvm/java-7-oracle/bin/java
2, download ANDROID-SDK, in the bottom of the page select the corresponding version, I downloaded the android-sdk_r24.2-linux.tgz,
Http://developer.android.com/sdk/index.html#Other
3, CD to step 2 to download the directory, enter the following instructions, note the instructions in the file name and directory in accordance with their own circumstances set
: ~$ tar-zxvf android-sdk_r24.2-linux.tgz
: ~$ echo ' export android_home= ' $HOME '/ download /android-sdk-linux ' >> ~/.BASHRC
: ~$ echo ' Export path= ' $PATH: $ANDROID _home/tools: $ANDROID _home/platform-tools "' >> ~/.BASHRC
: ~$ echo ' export java_cmd= '/usr/lib/jvm/java-7-oracle/bin/java ' >> ~/.BASHRC
4, close the terminal, and then open a terminal;
5. Enter ' Android ' to launch Android SDK Manager
: ~$ Android
6, according to the need, choose Android SDK Platform-tools, Samples for SDK and so on (probably 2-3g);
Note: Be sure to select Android support Repository, otherwise Gradle will error
At this point, the installation is finished ~ ~ ~
Ubuntu14.04 Installing the Android SDK (SDK tools only)