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

怎甘沉沦 提交于 2019-12-23 19:13:48

问题


I am trying to update lastest android SDK manager on lastest JDK 1.8. Updating gives me info about failed xml fetch, also I can't open it in the browser:

Any attempts to install any updates fail this way:

I am on windows7 64bit, no proxy, no firewall, running manager as admin.

Tried:

  • (un)checking https checkbox
  • removing java64, reinstalled jdk
  • setting proxy
  • passing -Djava.net.preferIPv4Stack=true arg to java.exe
  • setting ANDROID_SDK_HOME

but nothing helps.


回答1:


Well, I've found a solution.

  1. get this one: http://dl-ssl.google.com/android/repository/repository.xml (it doesn't give 404)
  2. find a name of .zip file inside matching your platform (for me it was tools_r22.6.2-windows.zip)
  3. find contents in C:/Program Files/Android/, matching contents of archive. Replace files from folder with content from archive.

These steps are enough to make Android SDK functional.

PS: as for 27.11.2015 this can be reproduced on clean VirtualBox with Windows 7: install jdk 1.8, android SDK and you will run into this trouble.



来源:https://stackoverflow.com/questions/33934077/failed-to-fetch-url-http-dl-ssl-google-com-android-repository-addons-list-xml

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