SDK 管理器无法获取内容 - 与 https://dl-ssl.google.com 的连接被拒绝 [英] SDK Manager unable to fetch content - Connection to https://dl-ssl.google.com refused
问题描述
我的 Android SDK 管理器启动,然后尝试获取新的更新.但它无法获取内容并在日志窗口中显示以下错误:
My Android SDK manager starts and then tries to fetch new updates. But it can't fetch content and shows following error in log window:
获取网址失败https://dl-ssl.google.com/android/repository/addons_list-1.xml,原因:连接到 https://dl-ssl.google.com 被拒绝
Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to https://dl-ssl.google.com refused
我使用的是 32 位 Windows 7 并使用 Eclipse ADT.
I am using windows 7 32-bit and working with Eclipse ADT.
推荐答案
解决方案:
- 以管理员身份启动 SDK 管理器
- 从命令行启动 android.bat.
- 通过
帮助/检查更新
更新Eclipse ADT.
- Updating Eclipse ADT from
help/check for updates
.
- 从
控制面板\系统和安全\Windows防火墙\自定义设置
禁用Windows防火墙
- Disabling windows firewall from
Control Panel\System and Security\Windows Firewall\Customize Settings
- 从 SDK 管理器中的工具/选项中清除下载捕获.
通过 SDK 管理器中的
tools/Manage Add-on sites
在用户定义的站点中添加 Google 的存储库网站.
Adding Google's repository website in use-defined site from
tools/Manage Add-on sites
in SDK Manager.
在 SDK 管理器中强制使用 http://获取 https//源
Forcing https// sources to be fetched using http:// in SDK Manager
- 如果上述任何一种解决方案都不起作用,那么最后一个解决方案剩下的就是禁用防病毒软件的防火墙.
- If any of above solution does not work then the last solution remained is to disable firewall of your antivirus.
某些防病毒软件包(例如 Avast)包含自己的防火墙,可阻止在 SDK 管理器中获取内容.您必须从其设置中禁用防病毒防火墙.
Some antivirus packages like Avast contains their own firewalls that blocks fetching content in SDK manager. You must have to disable antivirus firewall from its settings.
这篇关于SDK 管理器无法获取内容 - 与 https://dl-ssl.google.com 的连接被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!