我试图安装Android SDK和我在SDK管理器中记录以下错误 -
I am trying to install the Android SDK and I get the following error in the SDK Manager Logs -
Fetching https://dl-ssl.google.com/android/repository/addons_list-1.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: peer not authenticated
Fetched Add-ons List successfully
Fetching URL: https://dl-ssl.google.com/android/repository/repository-5.xml
Failed to fetch URL https://dl-ssl.google.com/android/repository/repository-5.xml, reason: peer not authenticated
Done loading packages.
该错误已是与我运行Ubuntu 11.10的代理服务器设置等和我在同一个安装程序昨天安装了SDK舒适。
The error has something to do with proxy settings etc. I am running Ubuntu 11.10 and I had installed the SDK comfortably on the same setup yesterday.
作为一种解决办法,我启用了的力的https:// ...来源为获取使用http:// ... 在 SDK管理器 工具>选项的菜单设置。这似乎帮助。
As a workaround, I enabled the "Force https://... sources to be fetched using http://..." setting in the SDK Manager Tools > Options menu. That seems to help.
我怀疑它是一个服务器端的问题,但我不知道这一点。
I suspect it is a server side problem, but I'm not sure about that.
编辑:请注意,使用https的HTTP取而代之的是不是真正的好主意!在最坏的情况下,中间人攻击者可以注入恶意code到该结束了在你的APK你的Android SDK库。这就是为什么它被称为解决方法:)的