How to Properly Install Android SDK on Your Windows PC

If you are planning to develop for the Android platform, you will need to install the Android SDK. Installing Android SDK isn’t hard, but it can be confusing for new users, as the SDK bundle for Windows doesn’t come with a regular installer. Here is the proper method to install Android SDK in your Windows PC.

Note: This tutorial is done on Windows 8. it will work on Windows Vista and 7 as well.

Android SDK requires Java to work. Thus, before installing Android SDK, you need to have a working version of Java. If you haven’t installed Java, please do so by downloading it from the official website. You can confirm the presence of Java in your PC by using the command below in the command prompt.

java -version

install-android-sdk-confirm-java

Once you have confirmed the installation of Java, you can proceed to install the Android SDK. Some of you might prefer the Open Java (Open JDK – Open Source implementation of Java), but for now, we are sticking with the regular Java by Oracle.

Installing Android in your Windows PC is far easier than you think. Head over to Android’s developer website and click on the button “Download Eclipse ADT with the Android SDK for Windows.” As the name suggests, this bundle does have all the tools like Eclipse plugin, SDK tools, platform tools, a version of Android and a system image. If you are using IDE other than Eclipse, or if you just want SDK and platform tools, you can download those bundles under the “View all downloads” section.

install-android-sdk-click-download-button

Click on the Download button. Accept the term and conditions, select either 64-bit or 32-bit and click on the download button again to start downloading the Android SDK bundle.

install-android-sdk-terms-and-conditions

Once the download is complete, extract the ADT bundle folder to your C drive. Rename the folder to “android” so that it will be easy to navigate.

install-android-sdk-sdk-in-c-drive

For the Android SDK to work effectively, you can set the environment variables so you don’t have to enter the full path to SDK tools (adt, for instance) whenever you want to use them.

To set the environment variables, press “Win + X” button and select “System” from the list of options.

This will open a System Details window. Click on the “Advanced System Settings” link to open the advanced tab in the system properties window.

install-android-sdk-system-details

Here click on the “environment variables” to open the environment variables window.

install-android-sdk-system-properties

Now scroll down and select the variable “path” under “system variables” and click on the edit button.

install-android-sdk-select-variable-path

Copy and paste the below path into the edit box separated by semi-colons (;) and click on the Ok button to save changes.

C:\Android\sdk\tools;C:\Android\sdk\platform-tools

install-android-sdk-enter-sdk-path

Note: Change the paths accordingly if you have installed the Android SDK in another location.

With that, you have successfully installed Android SDK and you can start using Android tools like adt and fastboot as you need them.

Do comment below if you face any problems while installing the Android SDK tools.