SDK 管理器无法获取内容 - 与 https://dl-ssl.google.com 的连接被拒绝 [英] SDK Manager unable to fetch content - Connection to https://dl-ssl.google.com refused

查看:22
本文介绍了SDK 管理器无法获取内容 - 与 https://dl-ssl.google.com 的连接被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的 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.

推荐答案

解决方案:

  1. 以管理员身份启动 SDK 管理器

  1. 从命令行启动 android.bat.

  1. 通过帮助/检查更新更新Eclipse ADT.
  1. Updating Eclipse ADT from help/check for updates.

  1. 控制面板\系统和安全\Windows防火墙\自定义设置
  2. 禁用Windows防火墙
  1. Disabling windows firewall from Control Panel\System and Security\Windows Firewall\Customize Settings

  1. 从 SDK 管理器中的工具/选项中清除下载捕获.

  1. 通过 SDK 管理器中的 tools/Manage Add-on sites 在用户定义的站点中添加 Google 的存储库网站.

  1. 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

  1. 如果上述任何一种解决方案都不起作用,那么最后一个解决方案剩下的就是禁用防病毒软件的防火墙.
  1. 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屋!

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