miércoles, 24 de octubre de 2012

How to download Android SDK, if you are blocked by a proxy, for example.

I've been looking all over the Internet intensively how to do this and honestly I have been almost impossible to find somewhere to explain how. Source [+].

The trick to getting this task lies in the XML file that Google uses to distribute their Platforms.

https://dl-ssl.google.com/android/repository/repository-5.xml

If you look inside the XML, to download the latest version will find this information:

<sdk:archive arch="any" os="any">

<sdk:size>44758833</sdk:size>

<sdk:checksum type="sha1">f2aa75133c29916b0b0b984974c2d5e46cb09e9c</sdk:checksum>
<sdk:url>android-15_r01.zip</sdk:url>
</sdk:archive>


So the URL to download the package we need is:

So the URL will be is 


http://dl-ssl.google.com/android/repository/android-15_r01.zip

I hope that helps as much as me this information.