Configure android in Ubuntu

Source: Internet
Author: User
Configure android in Ubuntu

First of all, I am using jdk1.6, eclipse3.5, ubuntu10.04

1. Install JDK, JRE

Sudo apt-Get install sun-java6-jdk sun-java6-jre

Then set the environment variable

2. Install eclipse

1. sudo apt-Get install eclipse

2. Download eclipse from the Internet and set

Note: In the new version, if you use method 1 to install eclipse, it seems that JDK is automatically set.

 3. Install ADT

Start eclipse and select "help"> "install new software ..."

Select Add... and enter the http://dl-ssl.google.com/android/eclipse/ in URL

Choose to install Android ddms and Android development tools

Select the accept license option. After completion, Program Go to automatic update. 4. Download andriod SDK

Chinese cannot access http://developer.android.com, can download the latest SDK to this website. Http://androidappdocs.appspot.com/sdk/index.html.

After downloading, decompress the package to the directory you want and decompress it to the/usr directory. Select "Windows"> "Preferences", select "android", and enter the SDK directory in "SDK location.

5. Update the android SDK API

The downloaded SDK does not contain APIs and must be updated in eclipse. Choose "Windows"> "android SDK and AVD manager"> "available packages ". Select all options for Android 2.2 and click "Install selected" to update the sdk api.

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.