问题
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.
- get this one: http://dl-ssl.google.com/android/repository/repository.xml (it doesn't give 404)
- find a name of .zip file inside matching your platform (for me it was tools_r22.6.2-windows.zip)
- 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