Recently, many people in our classroom will not build the environment, today we tanzhou the teacher on the android to talk about how the Windows Xp-android environment, I secretly made the next note, I hope that we learn more about Android students have help, and slowly step by step follow the operation is not too big a problem.
Note: This tutorial is about building an Android development environment under Windows XP, not the XP system friends please bypass!
Before starting to build, please go to my online disk to download the required 6 files.
Download Ball Skirts: 175229978
Installation directory:
Step 1à Install the JDK---------------------------------corresponding installation file: Jdk-6u22-windows-i586.exe
Step 2à Install the Android SDK--------------------corresponding installation file: Android-sdk_r17-windows.zip
Step 3à Install the Tomcat----------------------------corresponding installation file: Apache-tomcat-7.0.26-windows-x86.zip
Step 4à Install the ant---------------------------------corresponding installation file: Apache-ant-1.8.3-bin.zip
Step 5à Install the Eclipse-----------------------------corresponding installation files: Eclipse.part1.rar and Eclipse.part2.rar
Step 6à Install the ADT plug-in for Eclipse----------corresponding installation file: Adt-17.0.0.zip
Step 7à managing the AVD under the graphical interface
Step 8à Setting the Android system language
===========================================
1. Installing the JDK
Run the installer "Jdk-6u22-windows-i586-p.exe" and click Next to install it separately.
In the installation process will appear two times to select the installation directory interface, all changed to the following path:
JDK installation directory: C:\Java\jdk1.6.0_22
JRE installation directory: C:\Java\jre6\
After installation, configure the environment variables:
Open the Environment Variables window method: Right-click My Computer-clicking Properties-click Advanced-click Environment Variables.
Create the following variable in the user variable above and fill in the following path, respectively:
à variable name: java_home
Variable Value: C:\Java\jdk1.6.0_22
à variable name: PATH
Variable Value:%java_home%/bin
à variable name: CLASSPATH
Variable value:.; %java_home%/lib/tools.jar;%java_home%/lib/dt.jar
After the configuration is complete, click "Start"-"Run"-enter "cmd"-enter "Javac"-Press "enter", if you see the following information, the configuration is successful.
2. Install the Android SDK
Extract "Android-sdk_r17-windows.zip" into the E:\Android directory (Android directory to create a new, all of the software related to Android development will be unified into the directory), Get a Android-sdk-windows folder that contains the following file structure:
Àadd-ons: Additional accessory software is stored in this directory. The directory is empty when you just unzipped it.
Àplatforms: This directory contains different versions of the Android version. The directory is empty when you just unzipped it.
Àtools: This directory contains a large number of Android development, debugging tools.
ÀSDK Manager.exe: This program is the Android SDK and AVD (Android virtual appliance) Manager.
The tool allows you to manage the Android SDK and AVD.
Run "SDK Manager.exe" in the E:\Android\android-sdk-windows directory
Then wait for the update ... (This step must be networked because the SDK installation package needs to be acquired online).
In the process of updating, if you encounter the following prompt window:
Represents an update failure, the workaround is:
To the C:\WINDOWS\SYSTEM32\DRIVERS\ETC directory, open the "hosts" file with Notepad, add "74.125.237.1 dl-ssl.google.com" on the last line, save the "hosts" file and close.
Then close the Androic SDK Manager software and open it again to update the success.
After the update is complete, the latest installation package is listed, where "Tools" is the Android platform tool, which is the required option to check it out.
The latest installation package for the update is "Android 4.0.3 (API 15)" And the software is automatically ticked. If you need another version of the installation package, you can also check it yourself.
Extras directory for Help files, you can choose to tick or not hook on.
After selecting the installation package to download, click on the "Install 9 packages ..." button in the lower right corner and the window will pop up as shown, listing the kit to be installed on the left side of the window.
If the installation is not good, go to the group to find me. Almost 9 o'clock, all write so long, I think I am also a good child paper, these days also make notes!
Hey, I'm going out with the guys supper, software QQ Group: 175229978
Windows xp-android Environment Build-"Tanzhou Android development Tutorial Full"