Android SDK Offline Installation

Posted: April 21, 2011 in Android
Tags:

I think Android SDK Manager is quite awful, since it doesn’t have configuration for proxy authentication. But i found a simple way to download all the SDK components by using direct download link. The trick is on repository.xml which contains url paths to download all SDK components.

Look at every </sdk:url> tag and you’ll found filenames of each component, for example:

<sdk:archive os="linux" arch="any"><sdk:size>45476658</sdk:size><sdk:checksum type="sha1">c054d25c9b4c6251fa49c2f9c54336998679d3fe</sdk:checksum><sdk:url>android-1.1_r1-linux.zip</sdk:url></sdk:archive>

So URL path to download android-1.1_r1-linux.zip is http://dl-ssl.google.com/android/repository/android-1.1_r1-linux.zip

One disadvantages by using this way is you’ll be confused the directory structure where each SDK components will be placed. So here’s the directory structure (plus the download link) :

android-sdk/

platforms/<platform>/

android-2.0_r01-linux.zip

android-2.0_r01-macosx.zip

android-2.0_r01-windows.zip

android-2.0.1_r01-linux.zip

android-2.0.1_r01-macosx.zip

android-2.0.1_r01-windows.zip

android-2.1_r02-linux.zip

android-2.1_r02-macosx.zip

android-2.1_r02-windows.zip

android-2.2_r02-linux.zip

android-2.2_r02-macosx.zip

android-2.2_r02-windows.zip

android-2.3.1_r02-linux.zip

android-2.3.3_r01-linux.zip

android-3.0_r01-linux.zip

archives/

android-1.1_r1-windows.zip

android-1.1_r1-macosx.zip

android-1.1_r1-linux.zip

android-1.5_r04-windows.zip

android-1.5_r04-macosx.zip

android-1.5_r04-linux.zip

android-1.6_r03-linux.zip

android-1.6_r03-macosx.zip

android-1.6_r03-windows.zip

samples/

samples-2.1_r01-linux.zip

samples-2.2_r01-linux.zip

samples-2.3_r01-linux.zip

samples-2.3.3_r01-linux.zip

samples-3.0_r01-linux.zip

platform-tools/

platform-tools_r03-linux.zip

platform-tools_r03-macosx.zip

platform-tools_r03-windows.zip

tools/

tools_r10-linux.zip

tools_r10-macosx.zip

tools_r10-windows.zip

docs/

docs-3.0_r01-linux.zip

extra/

compatibility_r01.zip

SDK Readme.txt

SDK Manager.exe


Comments
  1. submonkey says:

    installing squid may fix proxy configuration problem

  2. umek says:

    yes. i think proxy is no more problem.. many way to configure with proxy

  3. hey,that was really nice..but there is some problem with add-on.xml.plz help me to solve it also.

  4. John Earnest says:

    what a great information, android will be the king of phone flatform….

  5. murtaza says:

    you rock dude….thanxxxxxxxxxxxxxx:-)))

  6. anonymous says:

    hey, thank you for this tip!

    what does mean the ‘”” in “platforms//” ?

  7. cristaloleg says:

    So…if I want to install android-2.0_r01-linux.zip. I must extract this
    archive to android-sdk/platforms/ ???

  8. Yury says:

    Thank you man, but i also found archive withandroid sdk offline on russian torrent server torrentino.ru there are repository for linux, windows and mac os x.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s