Search code examples
androidmacososx-snow-leopardandroid-sdk-tools

Failed to fetch https://dl-ssl.google.com/android/repository/repository.xml - Mac OSX


I am trying to install an android SDK version using SDK Manager. I am getting the error:
Failed to fetch https://dl-ssl.google.com/android/repository/repository.xml.

I tryied to use http instead of https but it failed too .

I added sdkman.force.http=true to ~/.android/androidtool.cfg but it failed.
I followed this link but got nothing there worked.
I tried to execute the SDK Manager as root but it failed too.

If I browse to the URL of the xml it shows its contents, so it is accessible.

Any idea?


Solution

  • Updating the ADT eclipse plugin solves the problem. Also you can update the SDK Manager to the last version.