It took me almost a day to build the Android environment and finally found a better solution.
The first problem is that Android's official website (http://developer.android.com) is hard to log in. Both the SDK and ADT need to be downloaded on the official website. I downloaded ADT-21.1.0 on another site, but found that I was unable to set up Android SDK Manager in Eclipse. After selecting the directory, the OK key is grayed out. Last seen on the internet, it was speculated that the version was too low. The final question is how to go to the official website to download. This needs to download fq (Pinyin is fan Qiang) software,freegate (zi you men) to meet the needs. Freegate 's software package is freegate and unbounded. Two are more difficult to connect to the server, so I have patience to wait for the unbounded connection of the server. Then the browser (not limited to IE) can login to the official website. You can then download the SDK and ADT.
The second problem is that software downloads are slow in Android SDK manager . Under normal circumstances, it is not possible to download. If the FQ software is turned on, the speed is slow. My internet speed is 10M Campus network, with the FQ software download for 200kb/s. Later found a good article, introduced a very good way. That is to change the contents of the Hosts file under the C:\WINDOWS\system32\drivers\etc directory to the following content.
127.0. 0.1 Localhost#google Home 203.208. 46.146 www.google.com# This line is for the convenience of opening the Android development website now it seems like no VPN can also open 74.125. 113.121 developer.android.com# updated content is downloaded from the following address 203.208. 46.146 dl.google.com 203.208. 46.146 dlssl.google.com****************************************
This found that the download speed reached the limit of my Internet connection. 1700KB/S around. The last few hours have finished downloading everything. Because I need to develop the app, I need a toilet multiple versions. So it's all downloaded.
Have to sigh, was a pit before know how not to be pits.
PS: The first time did not send out. Freegate's Chinese has become a banned content.
Problems and solutions to build Android environment