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.