Configure the android Development Environment

Source: Internet
Author: User

 

Configure the android Development Environment

 

1. Install JDK

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

 

2. Install eclipse

Http://www.eclipse.org/downloads/

 

3. Download the android SDK

Http://androidappdocs-staging.appspot.com/sdk/index.html (no wall flip here)

For Windows, run the setup in the SDK package.

 

4. Install the ADT (Android development tools) Plug-in eclipse

Open eclipse, help-> install new software install from this address, check all https://dl-ssl.google.com/android/eclipse/

PS: You can download the ADT package to your local computer first, and then select local installation for new software. I have failed to install the package several times. It seems that there are many packages on which the ADT depends, the above is the solution ..

 

5. Configure ADT and specify the android SDK directory

In eclipse, window-> preferences, select the card for Android, and select the decompressed Android SDK path.

 

6. Download the API, documentation, sample, and Google API of each SDK platform.

In eclipse, window-> Android SDK and AVD manager, select avaliable packages, and select the package for the platform to be downloaded.

PS: in windows, this box should pop up automatically when you execute SDK setup for download. the download is slow. Download a 2.1 SDK first, and use other sdks later.

 

7. The environment has been set up here.

Then, create an AVD (Android vitual device) and write a helloworld command to test whether the installation is correct.

Detailed installation process http://androidappdocs-staging.appspot.com/sdk/installing.html

 

In addition, it is best to add the tools path under the SDK to the environment variable path to facilitate the use of commands such as ADB in the command line.

 

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.