1

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.

Krupal Shah
  • 8,949
  • 11
  • 57
  • 93

2 Answers2

10

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 Panel\System and Security\Windows Firewall\Customize 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.

Community
  • 1
  • 1
Krupal Shah
  • 8,949
  • 11
  • 57
  • 93
1

On Linux check that the cache directory exists:

mkdir -p ~/.android/cache

and that you have rights to it:

ls -ld ~/.android/cache/
drwxr-xr-x 2 YOU YOU 4096 lis 24 13:33 /home/YOU/.android/cache/
rzymek
  • 9,064
  • 2
  • 45
  • 59