s how to solve Android DK can't download package issue

Source: Internet
Author: User

after installing some users of the Android SDK. Open the Android SDK manager download API when the "Done loading packages" is always displayed but is slow to move forward. There is a situation like this. Share your success in solving this problem.
Method/Step
    1. Users need to first open the downloaded Android SDK Manager, and then click on the "Tools" menu option in the menu bar, then simply select the "Options" option to open the Settings window.
    2. The next step is a critical one. This step determines whether the Android package can be successfully downloaded. In the new window, tick the checkbox button with force, then click the "Close" button to close the window and save the user settings above.


    3. Open Windows Explorer (My Computer, Win7 computer), open the "C:\Windows\System32\drivers\etc" directory, and note that System32 is the drivers directory. Not a driver directory.
    4. Mouse double-click the "hosts" file, you can not directly use the Affiliate application to open this file. You can open the Hosts file by selecting Open with Notepad or other text editing tools in the Open With dialog box that appears, and then clicking OK button.
    5. Then, add the text "#google_android更新 203.208.46.146 dl.google.com 203.208.46.146 dl-ssl.google.com" to the last place in the Notepad window that appears.

      Users need to be aware of. The intervening spaces and line breaks should be carefully manipulated.

    6. Of The content behind the "#" is the gaze content. Not practical, intended to remind users of its settings, similar to the effect of staring. After entering the text in the previous step, click on "File", "Save" (or press the shortcut key Ctrl+s) menu in the window, then close the window.
    7. Go back to the Android SDK Manager, select "Packages", "Reload" in the menu bar. Then it will show all the packages.
Precautions
    1. The user can change the Hosts file before setting the options for the Android SDK Manager, which may take effect immediately. No more clicking on "Reload".
    2. In the Hosts file, the addition of the two paragraphs without the # number is similar to the mapping of an address, when we visit dl.google.com this will be converted to a dynamic 203.208.46.146 call.


Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

s how to solve Android DK can't download package issue

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.