I saw the installation tutorial on the internet yesterday and failed many times, but I finally found out.
Before we start, we need to download the following software:
1. java jdk 1.6: http://www.163disk.com/fileview_98254.htm
2. ECLipse: http://www.eclipse.org/downloads/ (My eclipse-java-indigo-SR1-win32)
3. Android SDK: http://developer.android.com/sdk/index.html (my next is android-sdk_r06-windows.zip)
Note: select a version suitable for your computer
1. Install JDK 1.6
1. After the download is complete, follow the steps below to install.
2. Environment Variable Configuration:
Right-click "my computer" and choose "attribute"> "advanced"> "environment variable"
Click "new". In the displayed dialog box,
Set "variable name" to "JAVA_HOME" and "variable value" to the jdk installation path,
(If you installed JDK in the default path, enter C: \ Program Files \ Java \ jdk1.6.0 _ 10 \. If you did not install JDK in the default path, find the path of Java \ jdk1.6.0 _ 23 (this tutorial uses "D: \ Learning Software \ jdk" as an example), and then click "OK"
Find the environment variable named "Path" and click "edit ".Add ".; % JAVA_HOME %/bin;", remember to forget the front and semicolon, and then click OK.
Click the new button, enter "classpath" in the variable name, and enter ".." in the variable value. % JAVA_HOME %/lib/; % JAVA_HOME %/jre/lib/", fill in and click OK;
This completes the configuration. Let's see if the configuration is successful.
1. Click "start" and select "run" and enter "cmd"
Enter "java-version" and press enter to display the version number, for example:
If you enter "java" again, as shown in, your jdk installation is correct.
If you enter "javac" again, as shown in, your environment is configured correctly.
Margin-bottom: 0px; margin-left: 0px; background-color: rgb (229, 51, 51); font-family: 'times New Roman '; color: rgb (255,255,255); font-size: 18px; "> (if the image is different, check the preceding steps carefully)
By now, JDK and Its configuration have been installed.
Ii. Install Eclipse
Decompress the downloaded zipzip package and create a desktop shortcut using the eclipse.exe icon, such as margin-bottom: 0px; margin-left: 0px; font-family:; ">.
Margin-bottom: 0px; margin-left: 0px; font-family:; "> 3. Install the SDK
1. decompress the android sdk you downloaded (I am using a android-sdk_r06-windows.
Run SDK Setup.exe to start running Android on your computer.
A warning will pop up later. If you choose "NO"
Then select "close"
Then go back to the directory where you decompress the android sdk and open the file "temp"
Decompress the compressed file.
Copy the "tools" in the decompressed file (tools_r15-windows) to the directory that previously contained the "SDK Setup" and overwrite the "tools" in it.
Then re-open "SDK Setup" and re-install it.
This may take a long time. Please wait .....
It takes a lot of time to update the SDK in Eclipse later.
Select "OK" in the pop-up dialog box and click "Close "······
So far, the SDK has been installed.
1. Add the path of the tool folder to the environment variable of margin-bottom: 0px; margin-left: 0px; font-family:; "> path.
(My path is D :\android-sdk_r06-windows \ android-sdk-windows \ tools)
, Windowmargin-bottom: 0px; à preferences. The SDK Location should be the Android SDK installation path (here I am D: \ Android \ android-sdk-windows), click "apply, click "OK" 3. update the SDK "Window" margin-bottom: 0px in Eclipse; à "Android SDK Manager" margin-bottom: 0px; margin-left: 0px; background-color: rgb (229, 51, 51); font-family:; color: rgb (255,255,255); "> this process will be very fast, because we have updated it during the above installation. 5. ADT configuration 1. open Eclipse, "Help"-> "Install New Software" 2. click "Add" to write "ADT" in "Name"; "Location" to write "margin-bottom: 0px; margin-left: 0px; color: rgb (85, 85, 85); "> click" Next> "on two different pages, and then select" I accept the terms of license agreement "and" Finish ", then wait patiently for about 20 minutes and let the system Install Software. Note that "Security Warning" may appear at this time, which mainly means that the ADT contains unsigned content and is not valid or authentic, if you want to continue the installation, click "OK". In the end, eclipse will prompt you to Restart and make the ADT take effect. Click "Restart Now .. 6. Create a simulator Windows à AVD Managermargin-bottom: 0px; à New select SDK Android4.0.3, and click "Start" margin-bottom: 0px; à Launch. The simulator will appear, very excited... After a while, the interface will become like this. Please wait patiently. We have configured the Android environment. Next, we will gradually see its magic .....
From Guo Zi's blog