How can I update the Android SDK after Google is attacked ?, Androidsdk
-
- Preface
- 1. Modify the hosts file configuration
- 2. Modify eclipse SDK Manager settings
- 3 latest SDK Effect
Preface
Recently, I have seen some questions from colleagues in various Android technology development groups about how to update the Android SDK? Or who has the latest SDK installation package? At this time, I always want to answer them immediately, but I cannot describe them in a concise and clear way. Therefore, write this article to help people who are looking for methods, and leave a bottom for them to forget about it. In fact, the method is very simple, just two simple steps.
1. Modify the hosts file configuration
In Windows, hosts files are usually located in the C: \ Windows \ System32 \ Drivers \ etc directory, while in Linux systems (such as Ubuntu), hosts files are usually located in the/etc/hosts directory. The configuration is as follows:
203.208.46.146 www. google. com74.125.113.121 developer. android. com203.208.46.146 dl. google. com203.208.46.146 dl-ssl.google.com
2. Modify eclipse SDK Manager settings
Open eclipse, Window-Android SDK Manager-Tools-Options:
Select Force https ://... Sources to be fetched using http ://... Settings:
Restart eclipse, and then open Android SDK Manager to obtain the new API version.
3. Effects of the latest SDK version