Ubuntu14.04 Installing the Android SDK (SDK tools only)

Source: Internet
Author: User
Tags android sdk manager

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.