Android: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml :solution


At my office,I am using proxy server for internet connections.Due to this, while finding out the available packages from android repository, it always throws “Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml “.After going through several internet solution, I finally found out the actual way to do it, by following the steps below

  • First navigate to android_sdk folder
  • Then run SDK Manager (which you will find under android sdk folder
  • At left you will find “settings”
  • At settings fill out HTTP proxy server and proxy port location
  • Then under misc check “force http://”



Now you are able to check available packages and download it

Advertisements

2 thoughts on “Android: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml :solution

  1. There may be problem with your internet connection from AVD manager to Android repository browser and frankly speaking ,it is hard for me to point out exact solution from your comment.But if you need to add new “android platforms” ,you can manually download the zip files as described here
    http://www.hariadi.org/android/manual-download-of-android-sdk-components/
    And once the required package is downloaded unzip it on your android-sdk -platform folder under platforms or platform-tools depending upon the download zip

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s