Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml

Android SDK出问题了,Android Studio Settings中的Android SDK找不到SDK的path,只好手动去解决SDK的问题,但是在官网下载了SDK Manager之后,发现下载失败

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml
想必是服务器路径配置的问题,找了找资料,果然如此,把SDK Manager的服务器配置重新改一下,就可以了

先在Tools->Options中打开Android SDK Manager Settings
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml

HTTP Proxy Server改为 mirrors.neusoft.edu.cn
HTTP Proxy Port改为 80
同时下方的Others选项中勾选 Force https://… sources to be fetched using http://…
然后点击Close
就可以了

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml

修改完之后,点击Packages->Reload
Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml

此时,想要的SDK尽数列出,选择自己需要的部分下载即可

Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml

速度还是挺快的。