Android SDK updates

Source: Internet
Author: User
Due to the reason why I blocked Google, the speed of updating the android SDK may be slow, but it is important that you make various errors, such as errors, when updating the android SDK. Failed to fetch https://dl-ssl.google.com/android/repository/addons_list.xml, reason:
File not found I searched the internet and found a solution as follows: ① Change the hosts file method, and the update speed is fast. In windows under the c: \ windows \ system32 \ drivers \ etc directory/Etc/hosts file.

② Add the following content after opening the file
# Google Homepage
203.208.46.146 www.google.com
# This line is used to open the official Android development website. Now it seems that you can open it without turning over the wall.
74.125.113.121 2.16.android.com
# Download the updated content from the following address:
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com

③ If this method cannot solve the problem, try a foreigner's method: Question: Step 1: Run/usr/android-sdk-linux_x86/tools/androidstep 2: click "available packages" Step 3: click "third party add-ons" receive this error message: failed to fetchurl https://dl-ssl.google.com/android/repository/addons_list.xml, reason: file not foundanswer: I now spent two hours on this issue * I have no proxy in my system * I forced 'HTTP 'insteas of 'http' * I deactivated my virus plugin * I even Deactivated windows firewallnothing helped! Then I had an idea, I am using Windows 7. so if you are using Windows 7 and you have installed Android-SDK under 'C: \ Programs 'then you have to run the SDK as administrator! Windows Start --> programs --> Android-SDK --> right mouse click --> Run as administrator. This helped, now I am able to install new packages.

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.