1、官网下载了android-sdk_r18-windows.zip
2、解压后运行SDK Manager.exe
3、提示下面错误
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
Refresh Sources
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将https改为http仍不好用,求解决方法

解决方案 »

  1.   

    dl-ssl.google.com在被墙了,解决方法:
    Windows下修改C:\Windows\System32\drivers\etc\hosts文件。末尾添加一行:74.125.237.1       dl-ssl.google.com  这里需要注意的是hosts文件是只读的,我们没有权限修改,将hosts文件复制到桌面或者其他地方,然后修改保存,复制修改后的hosts文件到C:\Windows\System32\drivers\etc 目录,替换文件.在mac或Linux中,hosts文件所在位置为/etc/hosts,可以使用sudo vim /etc/hosts来编辑
      

  2.   

    xi xi ?
    Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xmlreason:
    peer not authenticated(同行不认证)
    这是什么原因啊?怎么解决?