Download Android SDK standalone for offline installation

38 comments
Update :- SDK for Android version (6.0) added !

How to install Android SDK without internet connection

I searched all over the internet and found no posts like this, hence I'm making one hoping it would be helpful for a lot of people.

The magic URL used to be - http://dl-ssl.google.com/android/repository/repository.xml (Outdated)
That is the XML file from which the URL for downloading the SDK packages are obtained.

Update :- The previous URL is now invalid, the new URL is given below
https://dl-ssl.google.com/android/repository/repository-5.xml (Outdated)

Update 4 :- New URL
https://dl-ssl.google.com/android/repository/repository-10.xml (thanks topcoder from comments)
For e.g. if you want to download Android SDK for version 4.0.3 for all platforms, you could look up that XML file. You will find a block under tag SDK 4.0.3 like this

<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 will be is http://dl-ssl.google.com/android/repository/android-15_r01.zip


If all the above sounds too complex

You can directly download from the below links. If this page does turn out to be useful, then I might update it regularly. Do leave a comment to let me know if it has helped you.

Android SDK Platform 6.0 (*** NEW ***)
All Platforms

Android SDK Platform 4.4
All Platforms

Android SDK Platform 4.2.2
All Platforms

Android SDK Platform 4.1.2
All Platforms

Android SDK Platform 4.0.3
All Platforms

Android SDK Platform 4.0
All Platforms

Android SDK Platform 3.2 revision 1
All Platforms

Android SDK Platform 3.1 revision 3
All Platforms

Android SDK Platform 3.0, revision 2
All Platforms

Android SDK Platform 2.3.3_r2
All Platforms

Android SDK Platform 2.3.1_r2
All Platforms

Android SDK Platform 2.2_r3
All Platforms

--- OLDER LINKS (Still working) ---

Android SDK Platform Honeycomb Preview, revision 1
All Platforms

Android SDK Platform 2.3.3_r1 (Offline complete download) - Approx 80 MB
All Platforms

Android SDK Platform 2.3_r1 (Offline complete download) - Approx 80 MB
All Platforms

Android SDK Platform 2.2_r2 (Offline complete download) - Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 2.1_r1 (Offline complete download) - Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 2.0.1_r1 (Offline complete download) - Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 2.0, revision 1 (Offline complete download) - Approx 80 MB
Windows
Mac
Linux

Android SDK Platform 1.6_r2  (Offline complete download) - Approx 63 MB
Windows
Mac
Linux

Android SDK Platform 1.5_r3  (Offline complete download) - Approx 54 MB
Windows
Mac
Linux

Android SDK Docs for Android API 7, revision 1 - Approx 48 MB
All Platforms

Android SDK Tools, revision 5  (16 to 23 MB)
Windows
Mac
Linux

Pointer not declared even when declared !

Comment
A Strange problem encountered yesterday which left us puzzled for a few mins :) (Check image below)


So now, we tried everything possible. Until at last when we saw that there was a backslash after "Plist" in the comment line. As backslash is an escape sequence, it made the whole next line invalid, more like a comment.

Once we deleted that backslash, things were back to normal. But hey, aren't comments supposed to suppress anything in them including escape characters

How to ignore build directory in SVN from command line

Comment
This works for Windows/Mac/Linux, but its tested on Mac. On Windows, you can do it easily with Free TortoiseSVN Shell context menu, so this method will be useful on Mac/Linux.

Lets suppose your folder structure is
SVNfolder->trunk->development->Projectfolder->build

Now open terminal and cd to development. (Now if you 'ls' it wil' list Projectfolder)
type svn propset svn:ignore "build" Projectfolder/  and press Enter.

and that is it, your build folder will be ignored.