Android SDK manager failed to update. Problem resolution

Android SDK manager failed to update. Problem resolution

Recently, when playing Ubuntu, the SDK files previously downloaded under windows can no longer be used and can only be downloaded again. After installing eclipse and ADT plug-ins, it is found that the SDK cannot be updated, as shown in:

Eclipse output error

@H_ 502_ 17@reason : Connection to https://dl-ssl.google.com refused

It is estimated that this is the credit of the great GFW. We only need to configure the hosts file and add the following sentence at the end of the file: 74.125.237.1 dl-ssl.google.com

The location of the hosts file in the windows system is: C: \ windows \ system32 \ drivers \ etc. find the file and open it in text form. Add the above sentence, save it, close it, restart eclipse, open the Android SDK manager, OK!

The location of the Ubuntu system hosts file is: / etc / hosts. You can use the command:

Sudo GEDIT / etc / hosts to edit this file

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>