Eclipse version 3.5.2 is used to configure the android development environment ......
Install the SDK step by step according to the official Android documentation. When the ADT plug-in of eclipse is installed, the system prompts "requires 'org. eclipse. GEF 0.0.0 'But it cocould not be found ". After a long time, the problem was finally solved:
The GEF and eclipse's graphic editing framework are missing. The following is the plug-in address:
Http://download.eclipse.org/tools/gef/updates/releases/
In the eclipse menu bar help-> install new software, add this item, and then select the corresponding eclipse version option to install it.
The original Article address is here (thanks to this buddy for contributing a link)
Http://tewson.com/content/orgeclipsegef-000-required-installing-android-development-tools-eclipse-351
In addition, you also need to add the following sites to automatically install the dependent components:
Eclipse GEF-http://download.eclipse.org/tools/gef/updates/releases/
Eclipse EMF-http://download.eclipse.org/modeling/emf/updates/releases/
Eclipse GMF http://download.eclipse.org/modeling/gmf/updates/releases
Eclipse WebTools-http://download.eclipse.org/webtools/updates/
Google eclipse Plugin-http://dl.google.com/eclipse/plugin/3.5
Finally, the official Android website also needs to go to the wall! I got it!
--------------------------------------------------------
ADT address
Http://dl-ssl.google.com/Android/eclipse/
--------------------------------------------------------
After creating an AVD (Android Virtual Device), start this AVD and prompt 'unknown avd'(Forgot)
The reason is that the AVD data file is automatically stored in E :/. android folder, and eclipse returns to C:/users/<user> directory (win7 System) When AVD is started. android folder. It seems that a link will be created by default and direct to E:/directory. It seems that a problem occurs when I change the user.
The solution is to use the mklink command to create an "NTFS junction" and direct it to the edisk directory.
Mklink/j c:/users/<user>/. Android E:/. Android
Bytes ---------------------------------------------------------------------------------------------------------------
Configure the Android Development Environment
1. Install JDK
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
2. Install eclipse
Http://www.eclipse.org/downloads/
3. Download the android SDK
Http://androidappdocs-staging.appspot.com/sdk/index.html (no wall flip here)
For Windows, run the setup in the SDK package.
4. Install the ADT (Android development tools) Plug-in eclipse
Open eclipse, help-> install new software install from this address, check all https://dl-ssl.google.com/android/eclipse/
PS: You can download the ADT package to your local computer first, and then select local installation for new software. I have failed to install the package several times. It seems that there are many packages on which the ADT depends, the above is the solution ..
5. Configure ADT and specify the Android SDK directory
In Eclipse, window-> Preferences, select the card for Android, and select the decompressed Android SDK path.
6. Download the API, documentation, Sample, and Google API of each SDK platform.
In Eclipse, window-> Android SDK and AVD Manager, select Avaliable Packages, and select the package for the platform to be downloaded.
Ps: in windows, this box should pop up automatically when you execute SDK setup for download. the download is slow. Download a 2.1 SDK first, and use other sdks later.
7. The environment has been set up here.
Then, create an AVD (Android Vitual Device) and write a HelloWorld command to test whether the installation is correct.
Detailed installation process http://androidappdocs-staging.appspot.com/sdk/installing.html
In addition, it is best to add the tools PATH under the SDK to the environment variable PATH to facilitate the use of commands such as adb in the command line.