Published on Dec 31,2014
1.2K Views
Email Post

This blog will help you in android sdk installation which is always tricky for newbies of Android. The Complete process has been documented in very simple Steps.

In case you have any questions, please post them in the comments section. Our experts will get back to you.

Or If you are the audiovisual type, you can attend a FREE Webinar on Android SDK Installation!

Know your System Requirements:

If you are using Windows 7 :

  • Click on “start” or press “windows key”. Right click on “Computer” and select “Properties”. As shown below in the image.

How to install Android SDK

  • Here you will find the System settings as below:

How to install Android SDK

  • From the above window you can find out that this machine is 64 bit, so i have to download 64 bit software for my android sdk installation.

On Windows XP follow these steps:

  • From the start menu -> Go to Control Panel -> Go to System.

How to install Android SDK

  • Here you will find the System settings as below:

How to install Android SDK

As you can see the above Machine is a 32 bit machine as it is showing Microsoft Windows XP Professional. For a 64 bit machine it will show Microsoft Windows XP Professional X64 Edition.

Installing JDK:

How to install Android SDK

  • Choose the appropriate option that is as per the machine you are installing the JDK viz. 32 bit machine or 64 bit machine. See the image below for help.

How to install Android SDK

  • Once the download is over. Start the .exe file by double click on it.

How to install Android SDK

  • After successful installation of JDK, we need to set the Environment variables in order to use JDK with Eclipse.
  • Go to MyComputer from the start-up menu -> Go to Properties -> Go to Advanced System Settings -> Click Environment Variables.
  • Click on New and type the Environment Variable as path.
  • Place the value of the JDK installation folder on your machine till the folder’s bin directory. For ex: C:\Program Files\Java\jdk1.7.0_05\bin
  • Create another environment variable and name it JAVA_HOME and set the value as C:\Program Files\Java\jdk1.7.0_05 (i.e. excluding the bin directory).

How to install Android SDK

  • Once we have created the Environment variables, we are done with the process of JDK installation.

Android SDK Installation:

How to install Android SDK

  • Accept the terms and conditions and select according to your system specifications (ex – 32 bit, 64 bit).

How to install Android SDK

  • Now open eclipse.exe to run Eclipse. It is located under eclipse/ folder and you are done with installation.

Caution: Do not move any of the files or directories from the downloaded directory. If you move the eclipse or sdk directory, ADT will not be able to locate the SDK and you’ll need to manually update the ADT preferences.

Troubleshooting:

If after the JDK and Android SDK installation, you find an error like below:

How to install Android SDK

You have made the wrong software installation i.e. the Eclipse IDE and the JDK are incompatible.

An Example can be that the JDK was downloaded for 64 bit machine and Eclipse for a 32 bit machine or Vice versa or both could not be downloaded for the targeted machine.

In order to resolve this do an Uninstall of JDK from Add/Remove Programs and download a new Eclipse and JDK for the Target Machine (64 bit or 32 bit) and follow the steps as mentioned from the beginning of the document.

In case you have any questions, please post them in the comments section. Our experts will get back to you.

Happy Learning!

The following resources were used for creating this post:Android Developers Official, Edureka.in, Wikipedia.

You may also like these related posts:

About Author
Gaurav Shankhdhar
Published on Dec 31,2014

Share on

Browse Categories

Comments
12 Comments