With the SDK manager, you can open it and find that it is slow to download some things you need. Then you have to wait slowly. After a long wait, it will fail, which will be very troublesome, next I will summarize how to solve these problems so that you can download these things in minutes.
First, let's take a look at how to speed up the update and then how to update it.
First, update the host file, open the directory c: \ windows \ system32 \ drivers \ etc, and there is a hosts file under the Directory
Use NotePad to open the file.
Copy the following text to the hosts file and save it,Do not modify the original file content, just add the content
203.208.46.146 www.google.com
74.125.113.121 2.16.android.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
Explains the principle: Why does adding these content to the hosts file speed up download?
As we all know, each website corresponds to an IP address. When we open a domain name, such as www.baidu.com, we will first resolve it to an IP address on the DNS server and then access it. Then, we added the android SDK to the hosts to obtain the update link and download the update link URL and the corresponding IP address. The purpose is to save the DNS resolution step, thus saving time, it also accelerates the download speed.
Modify the HTTP Request Method to force the HTTP request instead of the HTTPS request. The principle is to reduce the data transmission and speed up the download.
Open Android SDK manager, in Options under tools, there is a force https://..sources to be fetched using http ://...
Select this item.
Next let's take a look at how to enable Android SDK manager for updates.
Android SDK manager. You can open it in eclipse or go to the SDK directory. Double-click Android SDK manager.
Select what you want to download and download it.