views:

40

answers:

1

I downloaded Android SDK when I run setup, it displays the following error message.

Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.

Any hints?

+1  A: 

The hint is in the message: use HTTP instead of HTTPS.

The documentation says to do this as follows:

  1. With the Android SDK and AVD Manager window open, select "Settings" in the left pane.
  2. On the right, in the "Misc" section, check the checkbox labeled "Force https://... sources to be fetched using http://..."
  3. Click Save & Apply.
Dave Webb