Problems solved in this article:
1. Upgrade Android SDK, ADT (Android SDK tools) to 16, and SDK upgrade 4.0
2. Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: connection to http: // 10.159.192.62: 8080 refused
3. Failed to rename directory * \ Android-SDK-Windows \ tools to * \ Android-SDK-Windows \ temp \ toolpackage. old01
Content:
Because Google China was strong, the server moved abroad, so we open the SDK manager, will encounter failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml, reason: connection to http: // 10.159.192.62: 8080 refused and other issues,
The solution is as follows:
The first method is to create an SSH file on the Internet, and then go to Android SDK Manager> Tools> options in the toolbar.
Enter the SSH proxy server and port number, OK. update it!
There is also a way to use free gate to span the Great Wall software (expert edition), add a program to span the Great Wall in the rightmost program tab, select SDK manager,
The name is random and the parameter is omitted.
Most APIs are updated without any errors. However, when you want to upgrade Android SDK tools and arm Eabi v7a system image
Failed to rename directory * \ Android-SDK-Windows \ tools to * \ Android-SDK-Windows \ temp \ toolpackage. old01
It is useless to instruct the user to turn off the anti-virus software or any program that uses the directory resources. This is a logical defect of the program. Its upgrade logic is like this.
1. Run
2. Modify the parent directory name.
3. Update the modified directory
4. Name Restoration
The solution is as follows:
1. Copy the tools directory to a new directory named "tools-Copy". In this case, the android-SDK-Windows directory contains two directories: Tools and tools-copy.
2. run Android. bat in the tools-copy directory to update the SDK.
3. After the update, close the SDK and delete the tools-copy directory.
4. Run the SDK setup.exe In the Android-SDK-Windows directory.
There is also the issue of Great Wall interception. See the first solution to the Great Wall problem. If you use the free gate software, you will find that when you add a program to span the Great Wall, you can only select the. exe file.
You cannot select the Android. BAT file. This is also simple. You can directly copy the execution path of Android. bat to the file path and change the directory to its parent directory tools-copy.
Warm regards