GTU – MCA

Install Android SDK Without Internet Connection

Pre-requisite for Android Development :

  • Eclipse
  • JDK
  • Android SDK
  • ADT (Android Development Tools)

Steps for offline installation :

  1. Download Eclipse from here, then extract the contents to whichever folder you prefer (Recommended “C:\eclipse\”).
  2. Install JDK from here and JRE from here, if you don’t installed previously.
  3. Download Android SDK from here, then extract the contents to whichever folder you prefer (Recommended “C:\eclipse\android-sdk-windows\”).
  4. Download the required files :
  • Here comes the tricky part, you’ll have to download all the required files for the version of Android you choose
  • The magic URL is – http://dl-ssl.google.com/android/repository/repository.xml
  • That is the XML file from which the URL for downloading the SDK packages are obtained. You’ll have to manually download all the required packages, obtaining the link is easy! Just go through the XML and get the filename (enclosed in <sdk:url> tag). The link to the file will be
  • http://dl-ssl.google.com/android/repository/<package name>
  • In our case Download Android 2.2 from here,
  • Once downloaded, create a folder named “temp” in the folder you extracted the SDK (such that temp is accessible from “C:\eclipse\android-sdk-windows\temp\”). Launch SDK Manager.exe and select only those packages that you’ve downloaded and install them. It will work flawlessly!
  • You can create a Virtual Device from the SDK Manager at this point.
Setting up ADT Plugin for Eclipse :
  • Download ADT Plugin from here, then follow the steps (do not unpack it).
  • Start Eclipse, then select Help > Install New Software….
  • Click Add, in the top-right corner.
  • In the Add Site dialog, click Archive.
  • Browse and select the downloaded zip file.
  • Enter a name for the local update site (e.g., “Android Plugin”) in the “Name” field and then click OK.
  • In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  • In the next window, you’ll see a list of the tools to be downloaded. Click Next.
  • Read and accept the license agreements, then click Finish.
  • When the installation completes, restart Eclipse.
  • Select Window > Preferences… to open the Preferences panel
  • Select Android from the left panel.
  • For the SDK Location in the main panel, click Browse… and locate your downloaded SDK directory.
  • Click Apply, then OK.
Done!!
You’ll see that you can now create a new “Android Project”
Enjoy…

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