How to install Android SDK without internet connection
Android SDK is a great development kit for developer to create applications for Android platform. To use it, you have to download the Adroid SDK manager. The SDK manager let you download the rest of SDK components (which will require internet connection). So how can you install Android SDK on computers that have no internet connection? This step by step guide will help you.
Important: All files must be downloaded first before we install it on a computer without internet connection. This works well in deployment environments where all files would be downloaded to one storage device and then moved to be installed on computers without internet connections.
1. Download the SDK manager. We won’t use it to download any components. We need it to lauch the emulator later.
2. Lauch your browser and go to http://dl-ssl.google.com/android/repository/repository.xml
3. Quicky find the android platform that you want to download by pressing Ctrl+F ( In FireFox), we want to find the latest Android platform 2.2 so we typed in: 2.2
Other available platforms: 2.1, 1.6 and 1.5
As you can see from the picture below, we have zip files for Linux, Mac osx and Windows. Highlight the part: android-2.2_r02-windows/linux/macosx.zip and copy it.
Note: We can use this trick to download future Android platform ( 2.3, 3.0….)
4. Paste what you have copied right after http://dl-ssl.google.com/android/repository/ and we will have the direct link to download the Android 2.2
5. After you download these two files mentioned above (the SDK manager and the zip file), you can install the Android SDK on your computer without internet connection.
6. Extract android-sdk_r06-windows.zip and android-2.2_r02-windows.zip.
7. Copy or cut all files inside android-2.2_r02-windows folder.
8. Go to …\android-sdk_r06-windows\android-sdk-windows\platforms and creat a new folder (You can name it anything you want, we named it android 2.2)
9. Paste all your copied/cut files to that folder (in this post is: android 2.2)
10. Lauch ….\android-sdk_r06-windows\android-sdk-windows\SDK Setup.exe
11. The SDK and AVD Manager will autodetect the SDK Platform.
12. Go to Virtual Devices and click on New to create a new android virtual device.
13. A new window will pop up, you can name your device, choose target, set size for SD card, choose skin. Click on Creat AVD to create your device.
14. Click on Start to lauch your virtual device.
About Lê Hoàng
View more articles by Lê Hoàng
The Conversation
Follow the reactions below and share your own thoughts.











August 29, 2010 at 5:18 am, Jhonemoore said:
Very good. very useful. Thanks
August 29, 2010 at 2:06 pm, Anonymous said:
Glad you like the post
September 08, 2012 at 11:58 am, anand said:
i got dl_ssl.xml file is missing
please help me
September 07, 2010 at 5:41 am, B Chandrasaimohan said:
Super And Very useful
Thaks
September 08, 2010 at 3:50 am, Anonymous said:
Thank you! ^^
Glad to hear your feedback :d
September 12, 2010 at 1:26 pm, Nasereldeen_1 said:
Thanks ..
September 17, 2010 at 9:31 am, varun bhat said:
Thanks a lot
September 20, 2010 at 9:54 am, B Chandrasaimohan said:
Hi, I am trying to include Googlemaps API . I downloaded from this site n followed steps as given. but the sdk is not recognising the google maps API. Can u suggest me any idea?
September 20, 2010 at 12:43 pm, Anonymous said:
what are you talking about? This guide is for android sdk not google maps.
I think i can help
Anyway, can you give me screenshots?
November 03, 2010 at 10:35 pm, Alen Siljak said:
One of the components to install as a part of SDK is Google APIs, including Google Maps. They can be installed by following these same instructions and applying some reasoning to it.
i.e. http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
November 03, 2010 at 11:05 pm, Anonymous said:
Oh i see! Thank you
September 23, 2010 at 10:19 am, Maheshbinny said:
is this procedure requires eclipse installation
September 23, 2010 at 10:47 am, Anonymous said:
No. Just follow the guide and you will get the SDK running
October 13, 2010 at 4:29 pm, Dtybel said:
Muito bom perfeito, justo o que procurava. Just I what find for…thank you!
October 29, 2010 at 7:47 am, Riod said:
Dude, this post is the best! Just what I was looking for. Thanks so much
October 29, 2010 at 10:06 am, Anonymous said:
You are welcome
Glad i could help
November 12, 2010 at 10:09 am, Emdad said:
Thanks a lot. Good job.
November 24, 2010 at 7:33 am, Sathyanmarx said:
You are awesome..I couldn’t access the website because of firewall restriction in office..finally this website helped me..Thanks a lot
November 29, 2010 at 2:54 am, Bsod said:
I couldn’t download using the SDK manager as I’m in a corporate environment that is locked down to one browser (guess which…). I was able to get the android emulator up and running with no problems using the above instructions, thanks heaps!
November 29, 2010 at 5:30 am, Anonymous said:
You are welcome!
December 09, 2010 at 12:01 pm, Seema said:
Very good post after a long search some good working stuff.Thank you so much
December 27, 2010 at 8:24 pm, Senthil Nathan said:
Thanks a ton. It helped me big time!!
December 27, 2010 at 8:24 pm, Senthil Nathan said:
Good pst. Thanks a ton
December 31, 2010 at 8:26 pm, Anand Sunny 7 said:
Plz Let Me Know How Install Sample For Platform 2.1 Thanks In Advance
January 01, 2011 at 1:58 am, Anonymous said:
Can i know the link to these samples?
Thanks
December 31, 2010 at 8:38 pm, Anand Sunny 7 said:
And Let Me Know Where To Save Sample Folder Content
January 18, 2011 at 1:34 pm, Raman_raja said:
I want to use Eclipse for my Android development. I am behind a firewall that prevents Internet connection. How can I install Android zip files and make them work with Eclipse ?
Thanks,
Raja
January 18, 2011 at 11:50 pm, Anonymous said:
You can just follow the guide here. To make them work with Eclipse, follow android offical guide here: http://developer.android.com/sdk/eclipse-adt.html
Thanks
January 18, 2011 at 8:00 pm, wiki said:
thanks very good from Algeria
March 15, 2011 at 3:03 pm, Sandra said:
It still works! (March 15.)
Thank you very much indeed!
March 15, 2011 at 3:30 pm, Sandra said:
I’ve to add following information
In some cases you ought to set the ANDROID_SDK_HOME environment variable before you start your new AVD. e.g.
set ANDROID_SDK_HOME=D:
if your .android folder is created on the drive D:
HTH
April 11, 2011 at 5:01 am, Dentbagoest said:
waw…. nice…
thank very much….
i`ll try…..
May 10, 2011 at 8:17 am, Chris Le said:
Very nice, works fine when you wanna make a virtual device to see anything. But if you wanna develop Android Apps with Netbeans like me, you have to download over the Android SDK Manager, cause the Plugin for netbeans find the versions and other thins but they doesnt make any platform. Know I dont know whether it is a bug in the plugin or by the coping, you have forgotten anything in an other Folder.
Regards
Chris
May 17, 2011 at 11:39 am, Anonymous said:
Great tips for us. Thanks
May 17, 2011 at 11:39 am, Anonymous said:
Great tips for us. Thanks
May 19, 2011 at 1:05 pm, Oleg said:
Thanks a lot, this is realy useful for me!!!
May 26, 2011 at 6:14 pm, NikoK said:
Very helpful, though every time I load my AVD, it sits there saying “(Not Responding)” for the longest time, then when it starts responding, all I get is animated ‘android’ text and no button pushing or anything else does anything.
Did I miss some vastly important step or something? *is very new to this*
May 27, 2011 at 12:41 am, Anonymous said:
The Android SDK is very slow (even on quad core CPU). From what you described, the android text is just a boot screen (which is normal), just wait until it is loaded.
It seems like your hardware is a problem too. Usually, it takes 1 min for everything to be completely loaded.
June 23, 2011 at 8:16 am, Denis Pizarro said:
una consulta, cuando hago funcionar el android sdk m funciona muy bien la interfas,todo menos internet, me podian decir como configurarlo para que el emulador me lo tome.desde ya gracias
June 23, 2011 at 9:19 am, Melody said:
I love u!!! God bless u!!!
July 07, 2011 at 10:44 am, Umi said:
Very usefull tutorial! Thanks a lot! =) It helps me!
July 25, 2011 at 11:07 am, Ced Pascal said:
Thanks !
August 09, 2011 at 10:23 am, Koarng Kao said:
Thanks a lots, it works well.
October 18, 2011 at 1:28 pm, Sethathi said:
Thanks a lot.
October 25, 2011 at 9:42 pm, Vito said:
Thanks for the great post, this helped me revert my eclipse away from the detrimental r14 update.
October 28, 2011 at 4:48 pm, Athlass said:
very usefull information, please where to download android-2.3.3, I can’t find it in this xml file, may be there is an other xml?
Please informe your answer to: wdesign1@gmail.com
Best regards
December 28, 2011 at 3:54 am, Abubakkar said:
Will it work for windows 7 as there is no android 2.2 for windows its only shows linux?
January 11, 2012 at 4:58 am, Anonymous said:
Great!, thanks a lot for the intructions. The Andorid SDK was just giving connection reset every time i tried to download an SDK.
Just 1 question. I have been able to install andoird 2.3.3 SDK, but i’m having trouble to install andoird 4.0.3, the reason is that the SDK-platform and the emulator images are diferent files. I have downloaded both and make a similar instalacion to android2.3.3, but the emulator doesn`t boot.
Any suggestions?
February 11, 2012 at 11:46 am, Saju said:
Great!, thanks a lot for the intructions
April 07, 2012 at 7:44 am, Afsal said:
Thank you sir,
Great posting..Very informative.
May 06, 2012 at 4:23 pm, Bhathiya Perera said:
thanks man you are a life saver
now me and my friends with 512Kbps can actually download this
May 06, 2012 at 4:33 pm, Bhathiya Perera said:
when i try this , xml file doesn’t has the zip files i need it just contain the names of tools platform-tools_r09-*os*.zip and tools_r15-*os*.zip
but when i try the example name you have given in your tute (dl-ssl.google.com/android/repository/android-2.2_r02-windows.zip) it works
android-2.2_r02-windows.zip is not in the xml !
so could you please give us the names of the zip files
thanks sir
May 07, 2012 at 4:10 pm, Rameshwar Soni said:
I opening the URL mentioned in step 2 i do not get the same type of xml file (i.e. the image which you have shown in step 3).
May 11, 2012 at 10:29 am, sisila said:
very very useful thank you…………………………!
May 30, 2012 at 1:24 am, bennycah said:
To those having problem finding the SDK in the repository, you can refer the repository XML shown when the SDK trying to fetch the files.
Now the repository.xml location is: https://dl-ssl.google.com/android/repository/repository-6.xml
As of now, the SDK Platform that can be downloaded: 1.1_r1, 1.5_r3, 1.6_r2, 2.0, revision 1, 2.0.1_r1, 2.1_r3, 2.2_r3, 2.3.1_r2, 2.3.3._r2, 3.0, revision 2, 3.1, revision 3, 3.2, revision 1, 4.0, 4.0.3, 4.0, 4.0.3, 4.0.4
In the future, it may be changed by increasing the digit e.g repository-7.xml, repository-8.xml, and so on.
June 07, 2012 at 5:46 am, Ripon said:
Really very helpful for a endroid beginner. Thank you.
July 30, 2012 at 12:19 pm, Ana said:
Hi Guys
I have just started using eclipse for android …but have a problem in setting up the sdk manager. There are no packages in the sdk manager and when I try to set up the skd location in eclipse in says it does not recognise the location or when I try to add the android adt plugin in eclipse I get this error “Unable to connect to repository”
I cannot connect to the internet through eclipe which I think may be one of the causes, but do not know why I cannot connect to the internet I do not have firewall turned on I have checked all the proxys and my internet works perfectly outside eclipse.
Please help me I am really exited about doing some Android programming and have tried to solve this problem for the past 5 days with no success.
Thanks
August 21, 2012 at 4:40 am, carlos said:
Muchisimas gracias, me has salvado!!!
saludos
August 23, 2012 at 1:15 pm, kishor said:
really it,s very nice document to teach andriod technology
August 31, 2012 at 8:24 pm, alex said:
Your web page is a life saver! I needed an older API and SDK Manager wouldn’t show it. Thanks to you I was able to download it!
Have a great one!
September 06, 2012 at 12:34 pm, anand said:
with this i got dl.ssl.xml missing error
please help me
September 16, 2012 at 7:16 pm, anita said:
this works for sdk 4.1 too.thanks!!
September 20, 2012 at 5:22 am, punit said:
hi iam downloaded with android sdk all avd i want to use them for another computer is it possible to copy folder from one computer and pasting to other machine because in other machine i dont have net connection please understand my problem and provide me solution
September 21, 2012 at 10:45 am, Lê Hoàng said:
> Hello, this tutorial helps you do exactly that. Just follow the steps carefully and you will be able to use the emulator on the other computer.
September 25, 2012 at 11:19 am, Del Dalton said:
Hi there,
I’m having a few issues with retrieving the Android platforms from the repository. I can navigate to http://dl-ssl.google.com/android/repository/repository.xml but I’m only able to locate the following archives.
- platform-tools_r09-windows.zip
- tools_r15-windows.zip
I cannot even find the Android 2.2 platform that you have used in your tutorial. If I copy your URL in to my browser it does download the .zip file for that platform. However, I would like to download multiple Android platforms but cannot find the required URLs.
Am I doing something wrong?
September 30, 2012 at 4:35 pm, Hiran said:
bro, there is no android 2.2, only have
- platform-tools_r09-windows.zip
- tools_r15-windows.zip
help please
October 20, 2012 at 8:10 am, Tech Blogging said:
But after the installation android SDK, we can use it normally? What to do if any problem occurs during installation or after the installation?
October 25, 2012 at 9:03 am, Delvon said:
Thanks a whole lot!!! This has helped me soooo much. I have been trying to get this up for weeks!!!
October 26, 2012 at 3:49 am, yogen said:
Avd manager not working please help.
October 29, 2012 at 8:11 am, selvin said:
Great work , struggling a lot for months … thanks ……..
October 30, 2012 at 3:43 pm, Abdulmusawwir said:
Aweome man!
You rock!
November 03, 2012 at 7:33 pm, patrick said:
now moved to
https://dl-ssl.google.com/android/repository/repository-7.xml
November 03, 2012 at 9:21 pm, patrick said:
finally if you create a new Android project with eclipse you still need android-extras (last point in adroid sdk). . do you know where i can download it ?
November 21, 2012 at 3:32 pm, saurabh said:
thanks a lot…very useful…..
December 14, 2012 at 12:43 am, Mahipalsinh said:
Thank you 1
January 12, 2013 at 4:44 am, John said:
Thank you so much for this!!! I’ve wasted a few days trying to figure this out (unsuccessfully) and here you have it all explained so well!
I also need to install the Google USB driver (the generic Android one from Google, not a device specific one from an OEM), but can’t find it listed in either https://dl-ssl.google.com/android/repository/repository-7.xml or https://dl-ssl.google.com/android/repository/addons_list-2.xml (the other link that is mentioned by the SKD Manager Log). Do you know how to figure out where to download it from? Also, do you know where to put the download to install to SKD?
Thanks!
April 08, 2013 at 1:32 am, Gordon said:
ok wtf when i search 4.2 nothing shows up
August 08, 2012 at 6:42 am, sanjay said:
i didn’t understood from 10th step pls explain clearly
September 21, 2012 at 10:48 am, Lê Hoàng said:
> You have to launch the SDK setup.exe file inside the android-sdk-windows folder or the custom folder you use to install the Android emulator.
Hope this helps!
November 13, 2012 at 7:24 am, Sujit Yadav said:
> Thanks a lot..you dont know what you have done fir me..Thanks mate
love you :-*