今天下载了一份原来来参考,却发现SDK版本偏低我没有安装
用SDK Manager却一直更新不了出现
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-6.xml, reason: Connection to https://dl-ssl.google.com refused
Failed
to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml,
reason: Connection to http://dl-ssl.google.com refused
Failed
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>
蛮多方法可以试用,最实际的就是修改host文件
C:WINDOWSsystem32driversetc 下的host,在最后加入这样一句就可以更新了
#Google主页 203.208.46.146 www.google.com #这行是为了方便打开Android开发官网 现在好像不VPN也可以打开 74.125.113.121 developer.android.com #更新的内容从以下地址下载 203.208.46.146 dl.google.com 203.208.46.146 dl-ssl.google.com