Android Studio2.2 version has a bug, when writing code in the Gradle file, the program will automatically synchronize the compilation, then the entire program is stuck in the page, it will wait a long time to ease over. Recently really can not bear this turtle speed, just found that there is a new stable version, apart chose to upgrade, who know the hand is cheap, removed the local SDK.
So, the question came, the mainland wall so high, how to upgrade it? The basic answers to many of the great gods online are:
How to use:
The Android SDK updates the mirror server resources online:
Dalian Neusoft Institute of Information Mirror server address:
-http://mirrors.neusoft.edu.cn Port: 80
Beijing University mirror server address:
-ipv4:http://ubuntu.buct.edu.cn/Port: 80
-ipv4:http://ubuntu.buct.cn/Port: 80
-ipv6:http://ubuntu.buct6.edu.cn/Port: 80
Shanghai GDG Mirror server address:
-Http://sdk.gdgshanghai.com Port: 8000
1, launch Android SDK Manager, open the main interface, select "Tools", then "Options ...", pop up "Android SDK manager-settings" window;
2, in the "Android SDK manager-settings" window, in the "HTTP proxy server" and "http proxy port" input box, fill in the above mirror server address and port, and select "Force https://... Sources to is 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", then "Reload".
So .....
But Android Studio selected Android SDK Manager and found that the following interface could not be opened
You can only use HTTP proxy to set
Fill in the host name and port number, still cannot update, always prompt fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml ...
After continuous efforts, finally found a solution:
1, login webmaster tools http://ping.chinaz.com, Input dl-ssl.google.com, select "Overseas", find available IP;
2, pick a response time the shortest IP address, use cmd/terminal Ping, to ensure that the connection is normal.
3. Modify the host file and use that IP to point to the dl-ssl.google.com address.
4. Finally, you can download it happily.
Fix Android SDK manager cannot update download