Android eclipse changed the HOSTS update SDK method, androidsdk
Recently, many of my friends want to update the SDK, but they cannot update the SDK for various reasons. So I am here to teach you how to update the SDK in win.
First, modify the system file hosts,
The paths are almost the same. You can view them based on your system.
Next, use a tool such as a text viewer to open the file. If you do not have the permission, try to add the permission to edit the file. For example, right-click the file to add operation permissions,
Open for example:
Then add the two codes to the end.
203.208.46.146 dl. google. com203.208.46.146 dl-ssl.google.com
For example:
Next open the Android SDK Manager in the SDK, In the Options under Tools, there is a Force https://..sources to be fetched using http ://... select this option and add the corresponding HTTP address and port, for example:
This is all done. Haha, friends, then we can happily update the SDK. Isn't it easy!