Note:
I used Android development under XP in the past. Now I am using a classmate's book, which is a 32-bit win7 flagship edition. I can't help but reinstall it ....
Verified and summarized as follows
1. First, JDK
Right-click "computer"-> properties-> advanced system settings-> Environment Variables
System variable-> New-> variable name: java_home
Variable value: C: \ Program Files \ Java \ jdk1.6.0 _ 18 (this is only the default program for installation in my JDK installation path, 18 supports win7)
System variable-> edit-> (this is generally available) variable name: Path
Add % java_home % \ bin at the beginning of the variable value (note the symbol)
(If there is already a path item in the bold text, you do not need to create a new one, but you need to add it directly. It is separated from the previous one)
System variable-> New-> (the variable to be created) variable name: classpath variable value:
.; % Java_home % \ Lib \ DT. jar; % java_hom E % \ Lib \ tools. jar; (Note the symbol)
Finally, test whether the environment variables are set successfully.
2. Eclipse + SDK + ADT
My SDK Version 2.2 adt0.9.7 was previously downloaded and not updated online.
The installation and configuration of Java JDK do not need to be mentioned above
Download and decompress eclipse 32-bit IDE.
Load the ADT to eclipse. The method is to copy the features and plugins files decompressed by the ADT to the corresponding folder of eclipse. Then, start eclipse and the SDK manager appears. The ADT is successfully installed.
Load the SDK configuration path, as shown in "D: \ sdk2.2 \ tools ".
Note the differences between SDK 2.2 and 2.3. for version 2 and 2, copy the files ADB, adbwinapi. dll, and adbwinusbapi. dll under D: \ sdk2.2 \ platform-tools to the Tools Folder.
In eclipse, go to [windows] ----- [preference] --- [Android] to set the SDK path D: \ sdk2.2
Success
Create an android project and test it.