Android basic getting started tutorial -- 1.3 the SDK cannot be updated. androidsdk
Android basic getting started tutorial -- 1.3 the SDK cannot be updated
Tags (separated by spaces): basic Android tutorial
Problem description
I believe that when you update the SDK, you will not be able to update the SDK, and you cannot open Google search. This is because tianchao has Google, so you can only access the SDK through the VPN proxy or HOSTS, update SDK! This section describes two SDK update methods!
1. Modify the hosts file
Baidu "Google hosts 2015" has a bunch, and I often use the following:
Google hosts 2015, continuous update-360 Knowledge Base
After enteringCopy all content under the split line:
Then open the path on the computer:
Open it in notepad and paste the copied content!
Enter: https://www.google.com.hk/
Displayed: indicates that the Hosts is successfully modified.
Next, open the sdk settings:
Then you will find that the SDK can be updated, and you can also access Google, but it is a bit slow, right? Let's introduce another method to update the SDK, which is much faster!
2. Use domestic backup storage to update
Do you still remember to introduce a required AndroidDevTools for Android development? Open this website and we can see
Next we just need to select the above one, open our Android SDK Manager, and then make the following settings:
Tools-> Option, Fill in the address and end number of the image source,Select Force https:// Use the Https protocol
Then close and go to the main interface and select Packages> Reload. You can see that the progress bar is refreshed,
We can also download the sdk of the corresponding version, and the download speed is still very fast ~
3. Summary In this section
This section describes two problems that cannot be solved by updating the sdk. It is troublesome to change the hosts. You may need to update the sdk every several days. If you only want to update the sdk, we recommend that you use a domestic image for updates!
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.