Some users, after installing the Android SDK , open the Android SDK Manager download API and always show " Done Loading packages " but slow to move forward, the interface shows the package is empty. I have also had this situation, so I have to share with you how to solve this problem successfully.
How to fix an issue where the Android SDK cannot download the package
Tools / materials
Android SDK for Windows
Hosts File
method / step
1. Theuser needs to first open the downloaded Android SDK manager , and then click "Tools" in the menu bar menu options, the next just select the "Options" option to open the setup form, this step is confident that everyone is not unfamiliar, can be handy.
2,Next, is a key step, this step is to determine whether the successful download of the Android System package situation. , tick the checkbox button that starts with force in the new form, then click the "Close" button to close the window and save the user settings above.
3.Open Windows Explorer ( My Computer,win8 computer ), Open the "C:\Windows\System32\drivers\etc" folder, and note that System32 is drivers folder, not the driver folder.
4, the mouse double-click the "hosts" file, you can not directly use the Affiliate application to open this file. You need to select the Open with notepad program in the open with dialog box that appears, and then tap " OK " button to open the hosts file, the text inside is clearly visible.
5.Then, add the text at the last place in the Notepad form that appears:
#Google Android Update
203.208.46.146 dl.google.com
203.208.46.146 dl-ssl.google.com
It is important for the user to note that the intervening spaces and line breaks should be handled with caution.
6, which,"#" after the content is the comment content, does not play a practical role, intended to remind users of its settings, similar to the effect of comments. After you have entered the text in the previous step, tap file in the form, click save ( or press the shortcut key ctrl+s) menu, then close the window.
7.back to Android SDK Manager, select "Packages","Reload" in the menu bar, Then it will show all the Packages. At this point, you can easily download the package packages for each Android system and enjoy or test the Android app!
Precautions
The user can modify the hosts file before setting the Optionsof the Android SDK Manager , whichmay take effect immediately. No more clicking on "Reload".
The above hosts file added two paragraphs without the # number beginning with the text is similar to an address mapping when we visit Dl.google.com This will be automatically converted to 203.208.46.146 to visit.
How to troubleshoot problems with the Android SDK not downloading the package (. NET)