Recently the SDK problem, and then a Google download a android-sdk-windows.rar, and then click on the SDK Manager, the results have been unable to refresh the API level, and then began to find a lot of information online, to solve this problem, modify the HOSTS, HTTP and HTTPS are not resolved, which brings me a great deal of confusion! The interface errors that cannot be loaded are:
Fetching Http://dl-ssl.google.com/android/repository/addons_list-1.xml
- Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason:connection to/HTTP Dl-ssl.google.com refused
- Fetched add-ons List successfully
- Fetching Url:http://dl-ssl.google.com/android/repository/repository-6.xml
- Failed to fetch URL http://dl-ssl.google.com/android/repository/repository-6.xml reason:connection to/HTTP Dl-ssl.google.com refused
- Done loading packages.
I was tangled, has been the connection failed, is the telecom Google Android blocked, there is a recent idea, how to block the mobile phone Android but will not block the Google search engine, if the telecommunications Google search engine blocked, the telecommunications estimate also closed! Hehe I made a choice, use www.google.com to do agent, detailed look:
Then click on a package under the reload reload, hehe results API level all out, really cool crooked, hehe share to everyone, hope to everyone has help ~
or solve it in the following ways:
Directly configure the VPN, but now want to find a fast and stable free VPN is not easy, especially the update SDK to a few kb/s speed a file takes more than 400 minutes, so also give up the VPN.
You can also enter the hosts file to configure:
Change the Hosts file method, update faster. WINDOWS in the C:\WINDOWS\system32\drivers\etc directory, Linux users open the/etc/hosts file.
After opening the file, add the following content.
#Google主页
203.208.46.146 www.google.com
#这行是为了方便打开Android开发官网 don't seem to turn right now.
74.125.113.121 developer.android.com
#更新的内容从以下地址下载
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
Add the above URLs, and then choose the HTTP protocol, you can update the normal. Or you can do nothing, and a day or two may return to normal.
Final Summary:
This is ultimately the universal firewall to blame, but you can not kill it? For Android development, please let Google go?