Build an android development environment in Windows XP

Source: Internet
Author: User

There are two ways to build an environment:

The first type is as follows:

1. Configure Java environment variables.

My computer-right-click Properties-advanced-environment variables-System Variables

Java_home D: \ Java \ jdk1.6.0 _ 05

Classpath % java_home % \ Lib \ DT. jar; % java_home % \ Lib \ tools. Jar

Path.; % java_home % \ bin;

2. Download the tool from the android official website.

Log on to the http://developer.android.com/develop/index.html and click Download on the left to download, see:

Figure 1

 

Figure 2

Figure 3

Decompress and open an eclipse folder. This is an android development tool that has integrated the android SDK.

3. Create an android Virtual Machine (AVD) in the eclipse Android development tool)

4. After the VM is created, select the Virtual Machine (AVD) and click Start. Start the VM and run launch directly.

OK, success! Develop Android programs as you like!

The second method is as follows: (download the ADT package and SDK package. Eclipse development tools .)

1. Configure the Java environment variable.

2. Configure ADT in eclipse.

1. In eclipse, select help> install new software. In the available software dialog box, click Add ....

2. In the Name field of the add site dialog box, enter the name of the remote site (for example, "android plugin "). In the location field, enter the following url: https://dl-ssl.google.com/android/eclipse/#:. if you encounter a problem when accessing the plug-in, you can change the HTTPS in the URL to HTTP (it is safer to Use https ). Click OK.

3. Return to the available software interface and you can see the Developer Tools Options in the list. Select the check box next to Developer Tools to select both Android ddms and Android development tools. Click Next.

4. In the last install details dialog box, features such as Android ddms and Android development tools are listed. Click Next to read and accept the license agreement, install all dependent components, and then click Finish.

5. Restart eclipse.

3. Configure the SDK in eclipse.

Windows -----> preferences menu item, Click Browse, and select the SDK path.

4 OK. The configuration is complete. Start eclipse to develop the android program!

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.