开发者

HTTPS SSL error while installing android

开发者 https://www.devze.com 2023-01-15 06:39 出处:网络
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 migh

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 throug开发者_如何学Ch HTTP in the settings.

Any hints?


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.


For me, the checkbox is under

Tools-> Options ... [x] Force https://... source sot be fetched using http://...

0

精彩评论

暂无评论...
验证码 换一张
取 消