Install and configure the android SDK in Ubuntu

Source: Internet
Author: User
Tags android sdk manager

Environment:
Ubuntu 10.04
Steps:
1, install eclipse, see http://blog.csdn.net/gavin_dinggengjia/article/details/7364375
2. Download the android SDK
Official Website http://developer.android.com/sdk/index.html, download sdk's Linux (i386) version android-sdk_r16-linux.tgz
3. Decompress
$ Tar-zxvf android-sdk_r16-linux.tgz
Decompress the package to an Android-SDK-Linux folder.
4. Move the folder to the installation directory.
$ Sudo MV Android-SDK-Linux/usr/local/
$ CD/usr/local/
$ Sudo chown-r gengjia: gengjia Android-SDK-Linux/

5. Set Environment Variables
$ Sudo Vim/etc/profile
Add the following content
Export Path =/usr/local/Android-SDK-Linux/tools:/usr/local/Android-SDK-Linux/platform-tools: $ path

6. Install the android development tools (ADT) Plug-in eclipse
6.1 start eclipse and select help> install new software ....
6.2 click Add and enter "ADT plugin" in name. In location, enter "http://dl-ssl.google.com/android/eclipse/#, and click OK.
6.3 In Developer Tools, select Android ddms \ Android development tools \ Android hierarchy viewer \ Android traceview, click Next-Next, Select accept, and click end.
6.4 after installation, restart eclipse
7. Configure the ADT plug-in
7.1 select Window> preferences...
7.2 select android in the list on the left and specify the SDK path
8. Add platforms and other components
8.1 select Window> Android SDK manager.

8.2 select a platform. I chose Android 4.0.3 for installation.

Now, the SDK installation and configuration are complete.

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.