First, download the development tools:
The first is to download the ADT development tool in http://developer.android.com/, because I am a 32-bit operating system, I downloaded the adt-bundle-windows-x86-20140702, Download the development tools according to the specific operating system, download and unzip the backup, after decompression there are two folders (Eclipse and SDK), and an SDK manager executable file.
Second, the configuration jdk:
Then go to Oracle website to download the JDK and configure environment variables, because this is not the focus of the Android environment, so here is recommended a configuration article, according to the steps to configure the good: http://my.oschina.net/zhongwenhao/blog/303821
Third, download the Android development version.
After the configuration is successful, open the first step to extract the directory, there is an Eclipse folder, in this folder, double-click the eclipse executable to open Eclipse, click on a button, pop up the Android SDK manager interface, select the Android version of the development, Select and click on the lower right corner of the Install Packages button installation, and accept the user Agreement!
Figure 1-1 Download Android version
Here, will encounter a small problem, always prompt to reject the link, the link time-out error, the solution is:
Modify the HTTP request, instead of forcing the HTTP request, not the HTTPS request, in the open Android SDK Manager interface, click Options under Tools, there is a force https://. Sources to be fetched using http://...
Check this one out and you can.
In addition, you can also modify the Hosts file (some computer Hosts file is hidden, their own online check how to view hidden files on it) to speed up the update speed, by:
Open Directory C:\Windows\System32\drivers\etc, there is a hosts file in the directory
Open using Notepad
Copy the text into the Hosts file, save, note that the original file content is not modified, just attach the content
203.208.46.146 www.google.com 74.125.113.121 developer.android.com 203.208.46.146 dl.google.com 203.208.46.146 dl-ssl.google.com
After the modification is complete, close the Android SDK manager and turn it back on! Now the download is normal, the next is a long wait, until the download is complete!
iv. Configuration Simulator , start the emulator .
Click on the button in Figure 1-1 1 to the right of the first button to start configuring the emulator, click the button and then pop up the interface
Figure 1-2 Creating the simulator
Click the button 1 (Create button) shown in Figure 1-2 to eject the interface and set the parameters (this case takes android4.1.2 as an example):
After the setup is complete, click OK to return to Figure 1-2, check the Set Simulator, click Button 2 (Start button) to start the Android emulator, the first boot is a little slow, the effect after startup:
The environment is over, and good luck!
Please visit the original: http://wenhaozhong.com/31.html
Android Development -01-Build Environment