Android SDK cannot be updated.

Source: Internet
Author: User

Android SDK cannot be updated.

Original from[Slight cooling season]Blog: http://jijiaxin89.com/2015/08/28/sdk-manger-up-to-data/, to find the source

The sdk compatibility library has not been updated recently. None of 22.2.0 or above. Since there was no hard demand before, it would have been unable to be updated. For a moment, it is not calm. Recently, due to the need to share Evernote, his demo used the latest library, which cannot run without updating the level. There is no way, but it is only updated.
Due to the well-known GFW and lack of in-depth understanding of the android update mechanism, it was impossible to update it after a long time. It was so drunk that I dreamed that there was no wall, I am willing to say that I have heard a smile last night.
The reality is cruel. I came to the company this morning, and I still had to print my scalp if there were any problems. Fortunately, it was good to go through a morning of tossing. Thank God. It is difficult for colleagues to fight against bugs, product managers, and GFW.

In order to make it easier in the future, keep a record.

First, I used at least three methods to flip the wall. youtube is flying, but the sdk is still new.
Several attempts, found that ping dl.google.com, but ping dl-ssl.google.com is not available, but the sdk manger clearly prompted to download the dl-ssl.google.com with https. Google detected that http can be forcibly set. It is said that the great national security department could not detect https, and the attack was blocked. However, http can, this Nima is going to give it back to the wall. Then, based on the online method:

Click to set option:

Set to force http:


I hoped that this would force http, And I could happily update it. I did not expect it.

* Key !! Key !! Key !! *

Another mess occurred, and finally found the xuanjicang. The secret room opened!

Here:


Now, why is there https again.

Naturally, choose disable all.

.

OK!

We were glad to hear that spring was coming.

Is this the final stage of the drama? Obviously, it's a little less down.

Check whether the dependent library is or 23. adt, tools, and platform-tools are all up-to-date. However, android support libary is still 22,
.....
Even more depressing, I accidentally deleted 22... (If you delete it, you will be lucky)
Then sdk manger can no longer detect android support libary, and the human body disappears ....

Okay, I got it. You are the eldest brother.

I thought of the key above.

I tried it and clicked enable all. Of course this cannot be updated,! Click disable all and check again. Then, android support libary is displayed! Or 23 !!

What a fucking day.

But it's okay. The dust has been implemented, and the update is complete. Let's make a good development.

* We just want to develop android! *How painful it is to comprehend that GFW seriously hinders the development of technology. When will our country lose GFW and the wall will fall down? I believe that our country can have more scientific and technological talents that have changed the world...
A tear.

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.