Most learning videos using Android's development tool is eclipse, so I'll talk about eclipse build Android environment ( do not have Chinese in the path )
1. Install the JDK (note 32-bit or 64-bit)
After installing the JDK, you also need to configure the environment variables, which are configured in the system variables.
A.java_home: Installing the JDK directory (D:\MYPROGRAM\ECLIPSE\JDK)
B.classpath:.; %java_home%\lib\tools.jar;%java_home%\lib\dt.jar;%java_home%\bin; ( note : There is a point ahead)
C.path:%java_home%\bin;
Test installation succeeded: (ctrl+r) Open Black Window-"Enter cmd and then enter java-version (note there are spaces) enter
2 Installing Eclipse (note whether the computer is 32-bit or 64-bit)
3. Installing the SDK
Download ANDROID-SDK on Android developers and unzip to any path when download is complete.
A. Run SDK Setup.exe Select the SDK and its documentation or other packages that you want to install, click Installation Selected, Accept All, install Accepted, and start downloading and installing the selected package. (In this can go to sleep, very big, very slow). Finally, the new path value in the user variable is: the tools absolute Path (D:\myprogram\eclipse\android-sdk_r24.1.2-windows\android-sdk-windows) in the Android SDK. The structure in this directory looks like this.
Test whether the installation was successful: (CTRL+R) Open the Black Window-"Enter cmd and then enter Android-h return
4. Installing ADT
is divided into online and offline installation ADT (online to access Google, it may not be accessible)
Teach everyone to install ADT offline:
A. Download the ADT installation package first
B. Open eclipse--"Help-->install New Software
- Click Add ... button, pop-up dialog asks to enter name and location:name yourself, point archive ... Enter your own good ADT compression package
- When OK returns, 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.
- Now the computer put it in a disconnected state, or the progress bar will not move
- Then just follow the prompts step by step next.
C. Select Window > Preferences ...
- On the left panel select Android, then on the right click Browse ... and check the SDK path (D:\myprogram\eclipse\android-sdk_r24.1.2-windows\android-sdk-windows)
- Click Apply, OK. Configuration is complete.
Android Development Environment