[Android Config] SDK failed to update problem resolution

Source: Internet
Author: User
Tags android sdk manager

[Android Config] SDK failed to update problem resolution

Problem tip: Failed to fetch URL Https://dl-ssl.google.com/android/repository/repository-8.xml, Reason:httphostconnect Connection to Https://dl-ssl.google.com refused

Solution 1: Change the Hosts file

1). Open the C:\Windows\System32\drivers\etc\hosts file and add the following paragraph at the end:
203.208.46.146 www.google.com
74.125.113.121 developer.android.com
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

2). Start the Android SDK Manager, open the main interface, select "tools", "options...", pop up the "Android SDK manager-settings" window; select "force https://in the window ... Sources to is fetched using http://..."check box.

Solution 2: Change the Android SDK manager settings

1). Launch Android SDK Manager, open the main interface, select "tools", "options...", pop up the "Android SDK manager-settings" window;

2). In the "Android SDK manager-settings" window, fill in port"and 80 in the"http proxy server"and"http proxy mirrors.neusoft.edu.cn input boxes, and select " Force https://... sources to be fetched using http://..."check box. Click the "close" button to close the "Android SDK manager-settings" window and return to the main screen after Setup is complete.

3). Select "packages", "reload".

[Android Config] SDK failed to update problem resolution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.