Android的SDK安装的问题 - 对等未通过身份验证 [英] Android SDK installation issue - Peer not authenticated

查看:485
本文介绍了Android的SDK安装的问题 - 对等未通过身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图安装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你的Andr​​oid SDK库。这就是为什么它被称为解决方法:)

这篇关于Android的SDK安装的问题 - 对等未通过身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆