How to install Android SDK without internet connection

   Posted by Lê Hoàng in Android

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

When not creating exciting new Android games, Lê Hoàng is here crafting tutorials, tweaks, and fixes for your enjoyment.
View more articles by Lê Hoàng

The Conversation

Follow the reactions below and share your own thoughts.

87 Responses to “How to install Android SDK without internet connection”

  1. August 29, 2010 at 5:18 am, Jhonemoore said:

    Very good. very useful. Thanks

    Reply

    • August 29, 2010 at 2:06 pm, Anonymous said:

      Glad you like the post ;)

      Reply

      • March 14, 2014 at 1:59 am, kero said:

        help me please.. my phone is soft brick.. and i dont have recovery mode anymore.. what can i do?
        >

        Reply

    • September 08, 2012 at 11:58 am, anand said:

      i got dl_ssl.xml file is missing

      please help me

      Reply

  2. September 07, 2010 at 5:41 am, B Chandrasaimohan said:

    Super And Very useful
    Thaks

    Reply

    • September 08, 2010 at 3:50 am, Anonymous said:

      Thank you! ^^
      Glad to hear your feedback :d

      Reply

  3. September 12, 2010 at 1:26 pm, Nasereldeen_1 said:

    Thanks ..

    Reply

  4. September 17, 2010 at 9:31 am, varun bhat said:

    Thanks a lot :)

    Reply

  5. 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?

    Reply

    • September 20, 2010 at 12:43 pm, Anonymous said:

      what are you talking about? This guide is for android sdk not google maps.
      Anyway, can you give me screenshots? :) I think i can help

      Reply

  6. September 23, 2010 at 10:19 am, Maheshbinny said:

    is this procedure requires eclipse installation

    Reply

    • September 23, 2010 at 10:47 am, Anonymous said:

      No. Just follow the guide and you will get the SDK running :)

      Reply

  7. October 13, 2010 at 4:29 pm, Dtybel said:

    Muito bom perfeito, justo o que procurava. Just I what find for…thank you!

    Reply

  8. October 29, 2010 at 7:47 am, Riod said:

    Dude, this post is the best! Just what I was looking for. Thanks so much

    Reply

    • October 29, 2010 at 10:06 am, Anonymous said:

      You are welcome :D Glad i could help ;)

      Reply

  9. November 12, 2010 at 10:09 am, Emdad said:

    Thanks a lot. Good job.

    Reply

  10. 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

    Reply

  11. 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!

    Reply

    • November 29, 2010 at 5:30 am, Anonymous said:

      You are welcome! :D

      Reply

  12. December 09, 2010 at 12:01 pm, Seema said:

    Very good post after a long search some good working stuff.Thank you so much ;)

    Reply

  13. December 27, 2010 at 8:24 pm, Senthil Nathan said:

    Thanks a ton. It helped me big time!! :-)

    Reply

  14. December 27, 2010 at 8:24 pm, Senthil Nathan said:

    Good pst. Thanks a ton

    Reply

  15. 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

    Reply

    • January 01, 2011 at 1:58 am, Anonymous said:

      Can i know the link to these samples?

      Thanks

      Reply

  16. December 31, 2010 at 8:38 pm, Anand Sunny 7 said:

    And Let Me Know Where To Save Sample Folder Content

    Reply

  17. 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

    Reply

  18. January 18, 2011 at 8:00 pm, wiki said:

    thanks very good from Algeria

    Reply

  19. January 25, 2011 at 3:22 am, Nemoclown said:

    Thank you very much

    Reply

  20. March 15, 2011 at 3:03 pm, Sandra said:

    It still works! (March 15.)

    Thank you very much indeed! :-)

    Reply

    • 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

      Reply

  21. April 11, 2011 at 5:01 am, Dentbagoest said:

    waw…. nice…
    thank very much…. :)
    i`ll try…..

    Reply

  22. 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

    Reply

  23. May 17, 2011 at 11:39 am, Anonymous said:

    Great tips for us. Thanks

    Reply

  24. May 17, 2011 at 11:39 am, Anonymous said:

    Great tips for us. Thanks

    Reply

  25. May 19, 2011 at 1:05 pm, Oleg said:

     Thanks a lot, this is realy useful for me!!!

    Reply

  26. 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*

    Reply

    • 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.

      Reply

  27. 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

    Reply

  28. June 23, 2011 at 9:19 am, Melody said:

    I love u!!! God bless u!!!

    Reply

  29. July 07, 2011 at 10:44 am, Umi said:

    Very usefull tutorial! Thanks a lot! =) It helps me!

    Reply

  30. July 25, 2011 at 11:07 am, Ced Pascal said:

    Thanks !

    Reply

  31. August 09, 2011 at 10:23 am, Koarng Kao said:

    Thanks a lots, it works well.

    Reply

  32. October 18, 2011 at 1:28 pm, Sethathi said:

    Thanks a lot. :)

    Reply

  33. 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.

    Reply

  34. 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

    Reply

  35. 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?

    Reply

  36. 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?

    Reply

  37. February 11, 2012 at 11:46 am, Saju said:

    Great!, thanks a lot for the intructions

    Reply

  38. April 07, 2012 at 7:44 am, Afsal said:

    Thank you sir,

    Great posting..Very informative.

    Reply

  39. 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

    Reply

  40. 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

    Reply

  41. 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).

    Reply

  42. May 11, 2012 at 10:29 am, sisila said:

    very very useful thank you…………………………!

    Reply

  43. 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.

    Reply

  44. June 07, 2012 at 5:46 am, Ripon said:

    Really very helpful for a endroid beginner. Thank you.

    Reply

  45. 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

    Reply

  46. August 21, 2012 at 4:40 am, carlos said:

    Muchisimas gracias, me has salvado!!!

    saludos

    Reply

  47. August 23, 2012 at 1:15 pm, kishor said:

    really it,s very nice document to teach andriod technology

    Reply

  48. 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!

    Reply

  49. September 06, 2012 at 12:34 pm, anand said:

    with this i got dl.ssl.xml missing error

    please help me

    Reply

  50. September 16, 2012 at 7:16 pm, anita said:

    this works for sdk 4.1 too.thanks!!

    Reply

  51. 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

    Reply

    • 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.

      Reply

  52. 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?

    Reply

  53. 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 :(

    Reply

  54. 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?

    Reply

  55. 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!!!

    Reply

  56. October 26, 2012 at 3:46 am, yogen said:

    avd manager not working . please help

    Reply

  57. October 26, 2012 at 3:49 am, yogen said:

    Avd manager not working please help.

    Reply

  58. October 29, 2012 at 8:11 am, selvin said:

    Great work , struggling a lot for months … thanks ……..

    Reply

  59. October 30, 2012 at 3:43 pm, Abdulmusawwir said:

    Aweome man!
    You rock!
    :D

    Reply

  60. November 03, 2012 at 7:33 pm, patrick said:

    now moved to

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

    Reply

  61. 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 ?

    Reply

  62. November 21, 2012 at 3:32 pm, saurabh said:

    thanks a lot…very useful…..

    Reply

  63. December 14, 2012 at 12:43 am, Mahipalsinh said:

    Thank you 1

    Reply

  64. 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!

    Reply

  65. April 08, 2013 at 1:32 am, Gordon said:

    ok wtf when i search 4.2 nothing shows up

    Reply

  66. May 30, 2013 at 8:20 am, mk said:

    Thank u for the post. But I got an Error when creating avd. It says “Unable to find a ‘userdata.img’ file for ABI armeabi to copy into the AVD folder”. Please help…..

    Reply

  67. September 17, 2013 at 2:35 am, kamenest said:

    very good…
    but the updated link is : http://dl-ssl.google.com/android/repository/repository-8.xml

    Reply

  68. February 09, 2014 at 3:56 am, daniel said:

    thank you very much! it’s that i want.

    Reply

  69. February 21, 2014 at 2:10 am, nemo said:

    excuse me, I use this links for to take the SDK http://dl-ssl.google.com/android/repository/repository.xml and your http://dl-ssl.google.com/android/repository/repository.xml but I can’t see where ou can find the link android-2.2_r02-windows.zip , I see only android-2.2_r03-linux.zip,
    help me and and I speek little english

    Reply

  70. August 08, 2012 at 6:42 am, sanjay said:

    i didn’t understood from 10th step pls explain clearly

    Reply

  71. 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!

    Reply

  72. 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 :-*

    Reply

Leave a Reply