setting up Android SDK - get the “Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml” error no matter what [duplicate]

扶醉桌前 提交于 2019-12-11 04:22:23

问题


Possible Duplicate:
Android SDK Manager gives “Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml” error when selecting repository

In trying to set up the Android SDK, I can't seem to get connected to the repository. With the proxy set correctly, and https forced to http, I get this error:

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

Without the proxy set, I get the same result, except it says the connection has timed out.

Anything I'm missing here?


回答1:


It looks like something is wrong with your proxy settings. I was getting that error until i set my proxy correctly. Also you should be using Https not Http when you have the proxy setup.



来源:https://stackoverflow.com/questions/3918473/setting-up-android-sdk-get-the-failed-to-fetch-url-http-dl-ssl-google-com-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!