Android Development Environment Building
First, the Preparation tool:
1.adt-22.0.1.zip
2.eclipse-jee-kepler-sr1-win32.zip
3.android-sdk-1017.zip
4.jdk-7u45-windows-i586.exe
Second, install the software and configure the environment variables:
1. Create a new folder under the D-Packing directory tools, unzip the eclipse and android-sdk into the tools directory
2. Extract ADT to the Eclipse folder
3. Install the JDK, double click on the jdk-7u45-windows-i586.exe file, click "Next", (use the default path here) eventually your JDK directory will be "C:/Program File/java"
4. (Key steps) Configure environment variables
4.1 If your computer is installed (XP system) Click: My Computer----high-level---environment variable
If yes (win7 or WIN8) Click: Computer--Properties--Advanced system settings-environment variables
4.2 Click on "Environment variables" below---select "New"
The above text box ( key ) fills in: Java_home, the following text box ( value ) fills: C:\Program files\java\jdk1.6.0_02
Note: If your JDK installation directory is changed, you will need to replace the installation address.
4.3 found in existing system variables Path (this variable already exists, do not need to create a new one), and then double-click "Edit" to add the following to the "Value" of the dialog box that pops up ;%java_home%\bin; (note: Semicolon separated before and after)
4.4 New environment variable: Key Android_sdk_home, value is the address of the SDK folder after unpacking the SDK
4.5 Click "OK"-"OK"-"OK"
5. Test environment variables are configured successfully
5.1 Open cmd and enter "Java" to see if there are any results.
5.2 Enter Javac to see if there are any results, such as the following results, indicating the configuration is successful.
Android Development Environment Building