The main steps to build an Android development environment are:
1. JDK Installation
2. Eclipse Installation
3. Android SDK Installation
4. ADT Installation
5. Create AvD
1. JDK (Java development Kit) Download and install:
:
(1) http://www.kuaipan.cn/file/id_63583477534063109.htm (i Jinshan fast plate jdk1.6, this need to have Jinshan fast account to download, if not registered one can also, or click the link below to download the website)
(2)http://www.oracle.com/technetwork/java/javase/downloads/index.html
(Java website Download, can choose the latest version download)
Download good after installation, my installation on the D disk such as:D:\Program files\java\jdk1.6.0_18
Next Configure Environment variables (note: can also not be configured, skip directly)
variable name: java_home &NBS P variable value : D:\Program files\java\jdk1.6.0_18 (the directory where you installed the JDK) OK, continue with the new:
Variable name: CLASSPATH variable value:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\bin;
Find the variable name Path, edit, append at last;%java_home%\bin; (Note that the semicolon is required)
After setting the cmd command java-version the test is set successfully.
2. Eclipse Download Installation:
(1) The Simple ADT Bundle, the Android SDK + Eclipse IDE, is one step away for children's shoes without eclipse.
The general online tutorial is to download Eclipse, unzip the run, and then install ADT through the Eclipse IDE (Android development Tools), here is an easy way to download the Google website The Adt-bundle-windows Android development environment contains Eclipse, without the need to configure environment variables.
:http://developer.android.com/sdk/index.html
After download, unzip adt-bundle-windows-x86-20130219.zip, open folder Adt-bundle-windows-x86-20130219/eclipse, run Eclipse.exe, The following screen will appear, that is, the IDE that has already downloaded ADT. (Be careful not to delete or move the Eclipse and SDK folders inside the adt-bundle-windows-x86-20130219 folder, otherwise you can only update ADT manually)
The ADT Bundle installed in this way directly into my next blog to learn the HelloWorld program.
(2) General steps, separate download eclipse:http://www.eclipse.org/downloads/
Download the version that corresponds to your system Eclipse IDE for Java developers
After download, unzip, find the Eclipse.exe run, the following screen appears:
The first run will let you choose a workspace path, you can determine it (now put aside for the next Android SDK installation).
3, Android SDK download installation:
Click to download Android-sdk_r18-windows : Http://dl.google.com/android/android-sdk_r18-windows.zip
Download and unzip, run SDK Manager.exe, select the version of Android you want to develop ( the more Android you choose, the more slowly you will be, so the first one is the best choice) such as Android 1.5, click Install after checking.
The installation process takes some time, waiting patiently, typically takes a few minutes, the installation is completed and the installed is displayed and then closed directly.
Edit path in the user variable, add;D on the last side: \androiddevelop\android-sdk-windows\tools (tools absolute path in Android SDK)
CMD command: android-h See if the SDK is installed successfully.
4. ADT Installation:
In the third step, open the Eclipse IDE, at the end of the menu, click "Help"-"Install New software ..." and click "Add"
Pop-Up dialog box press ENTER, name random, such as ADT, location input: http://dl-ssl.google.com/android/eclipse
After deciding to return, select the ADT we just added in the drop-down list after work with, and we'll see the developer Tools below that expand it will have Android Ddms and Android development Tool, tick them off (you can choose them all). As shown in the following:
The following are directly by default, click Next, Next, I accept ..., Finish, on the line. Then there is the automatic installation process, waiting patiently for a few minutes. you will be prompted to restart eclipse after the installation is complete.
After restarting, select Window---Preferences in the menu ...
On the left panel select Android, then on the right click Browse ... and select the SDK path, such as D:\AndroidDevelop\android-sdk-windows
Click Apply, OK. Configuration is complete.
Build Android development environment, HelloWorld (Win7) (GO)