且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android的SDK安装的问题 - 对等未通过身份验证

更新时间:2022-06-21 07:46:55

作为一种解决办法,我启用了的力的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库。这就是为什么它被称为解决方法:)