Offline Installation of Android SDK on Windows

Due to poor network connection. I’ve encountered problems during the online installation of Android SDK on may laptop. So I’ve decided to install the SDK offline.

Because of getting low download speed I used a download manager to download Android SDK’s. Using download manager enables you to leech to multiple connections resulting to a much higher internet download speed.

The following are the tools needed to develop Android App

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

Following are the steps required to perform an offline install:

Step 1 – Downloading and Installing Eclipse

Download the latest version from the following URL:

http://www.eclipse.org/downloads/

Extract the contents to whichever folder you prefer. I my case I used my drive C.

JDK is required in running Eclipse. So make sure you have JDK on your unit.

Step 2 – Downloading Android SDK

Get the Android SDK from: http://developer.android.com/sdk/index.html

You can select an SDK package whichever you like may it be on a .EXE package or .ZIP package.

After downloading the Android SDK, extract the contents to the folder you prefer (for those who download the .ZIP package) or install the SDK (for those who download the .EXE package).

Step 3 – Required files

To develop apps you have to download the required files which is the Android SDK version you prefered.

The magic URL(UPDATED) is

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

If you want to download Android SDK for version 2.3.3 for all platforms which I’ve done, you could look up that XML file. You will find a block under tag SDK 2.3.3 like this

<sdk:platform>
<sdk:version>2.3.3</sdk:version>
<sdk:api-level>10</sdk:api-level>
<sdk:codename/>
<sdk:revision>02</sdk:revision>
<sdk:min-tools-rev>8</sdk:min-tools-rev>
<sdk:description>Android SDK Platform 2.3.3._r2</sdk:description>
<sdk:archives>
<sdk:archive arch=”any” os=”any”>
<sdk:size>85470907</sdk:size>
<sdk:checksum type=”sha1″>887e37783ec32f541ea33c2c649dda648e8e6fb3</sdk:checksum>
<sdk:url>android-2.3.3_r02-linux.zip</sdk:url>
</sdk:archive>
</sdk:archives>

So the URL will be is http://dl-ssl.google.com/android/repository/android-2.3.3_r02-linux.zip

After you download the SDK, extract the SDK and transfer it on the platform folder in my case (C:\Program Files\Android\android-sdk\platforms). Once done, you can now create your own virtual device using the AVD Manager.

Step 4 – ADT Plugin for Eclipse

Get the ADT Plugin from http://developer.android.com/sdk/eclipse-adt.html for offline installation it is located under “Troubleshooting ADT Installation”

Once downloaded, open Eclipse then click Help > Install New Software

Click the “Add”  and press “Archive” and locate the ADT.zip file. Then click OK.

Enter a name for the local update site (e.g., “Android Plugin”) in the “Name” field.

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. Note: If you get a security warning saying that the authenticity or validity of the software can’t be established, click OK.

When the installation completes, restart Eclipse.

Locate the Android SDK after you’ve restarted Eclipse. This can be done by navigating to – Window > Preferences > Android. Locate and select the location of the SDK e.g. (“C:\Program Files\Android\android-sdk”)

After that congratulate your self and start creating Android Apps. 

Advertisements
Gallery

3 thoughts on “Offline Installation of Android SDK on Windows

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