How to configure the android eclipse development environment in Windows

Source: Internet
Author: User
Tags java se

1. Download and install Java se jdk. The latest version is Java SE Development Kit (JDK) JDK 6 Update 12.

Http://java.sun.com/javase/downloads/index.jsp

 

After installation, configure the Java environment variable:

For example, the JDK installation path is C:/program files/Java/jdk1.6.0 _ 07.

Create the java_home variable in the system variable. The value is C:/program files/Java/jdk1.6.0 _ 07.

Add % java_home %/bin to the system variable path;

Create a new variable classpath in the system variables or user variables. The value is:

.; % Java_home %/LIB; % java_home %/lib/tools. jar; % java_home %/lib/dt. jar;

 

2. Download the android SDK. The latest version is 1.0 Release 2.

Http://code.google.com/android/download_list.html

 

Decompress the downloaded SDK package to a directory such as D:/android-sdk-windows-1.0_r2

Configure environment variables to facilitate the use of Android ADB and other tools through command lines in the Command Prompt window.

Add D:/android-sdk-windows-1.0_r2/tools to system variable path

 

3. Download the android SDK Eclipse plug-in ADT (Android development tools ).

Http://code.google.com/android/adt_download.html

 

You do not need to decompress the package.

 

4. Download Eclipse IDE for Java developer. Eclipse IDE for Java developers (85 MB)

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

 

Decompress the package to a directory, such as C:/eclipse.

 

5. start eclipse and click "help"> "software update... ", click" availabe software ", and click" add site... ", click" archive... ", select the downloaded ADT plug-in package. start installation. restart eclipse after installation.

 

6. Start eclipse and configure the preference parameter. Enter the decompressed path of Android SDK In the SDK location under the android option.

 

Now we are finished. You can create an android project to start Android application development.

 

 

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.