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.
Before Getting Started
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.
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.
Install Android SDK in Windows
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.
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.
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.
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.
Here click on the “environment variables” to open the environment variables window.
Now scroll down and select the variable “path” under “system variables” and click on the edit button.
Copy and paste the below path into the edit box separated by semi-colons (;) and click on the Ok button to save changes.
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
fastboot as you need them.
Do comment below if you face any problems while installing the Android SDK tools.