There was a problem using SDK Manager update failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, Reason: Connection to https://dl-ssl.google.com refusedfailed to fetch URL http://dl-ssl.google.com/android/repository/addons _list-1.xml, reason:connection to http://dl-ssl.google.com refusedfailed to fetch URL https://dl-ssl.google.com/ Android/repository/addons_list-1.xml, reason:hostname in certificate didn ' t match: <dl-ssl.google.com>! = < Www.google.com> cannot resolve https://dl-ssl.google.com/android/eclipse when updating ADT
steps to readMethod/Step
- 1
Everyone must be in a hurry, I will not nonsense, directly on the solution!
Open the SDK Manager under Tools->options, and select "Force https://... sources to be fetched using http://..." To enforce the use of the HTTPS protocol.
steps to read steps to read
- 2
After you select the previous step, some users can update the list. If it is still not, continue with the following operation.
In the Address bar, type: C:\WINDOWS\system32\drivers\etc
steps to read
- 3
We will see the hosts file and right-click Open mode to select Notepad. In the inside of the text copied into the following, the content is as follows ( special emphasis: is the original content after pasting the following content, rather than overwrite ):
#Google主页
203.208.46.146 www.google.com
#这行是为了方便打开Android开发官网 don't seem to be able to open a VPN now.
74.125.113.121 developer.android.com
#更新的内容从以下地址下载
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
steps to read
- 4
Some users will then see the list loaded. If there is no change, reopen SDK Manager. You will find that the problem is solved. 1
If you still can't load out the list, or there are 2 red content, it is recommended to try again in a few days!
steps to read steps to read
- 5
When updating the ADT plugin, use the URL http://dl-ssl.google.com/android/eclipse instead of the Https://dl-ssl.google.com/android/eclipse, This is also described in the official development documentation.
Android SDK updates and workarounds for problems with ADT updates