Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
574 views
in Technique[技术] by (71.8m points)

android - SDK Manager unable to fetch content - Connection to https://dl-ssl.google.com refused

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:

Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: Connection to https://dl-ssl.google.com refused

I am using windows 7 32-bit and working with Eclipse ADT.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Solutions:

  1. Starting SDK manager as Administrator

enter image description here

  1. Starting android.bat from command-line.

enter image description here

  1. Updating Eclipse ADT from help/check for updates.

enter image description here

  1. Disabling windows firewall from Control PanelSystem and SecurityWindows FirewallCustomize Settings

enter image description here

  1. Clearing download catche from tools/options in SDK Manager.

enter image description here

  1. Adding Google's repository website in use-defined site from tools/Manage Add-on sites in SDK Manager. enter image description here

  2. Forcing https// sources to be fetched using http:// in SDK Manager

enter image description here

  1. If any of above solution does not work then the last solution remained is to disable firewall of your antivirus.

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...