Installation of Android SDK is one of the major steps one has to take care of before actually digging into the development of Android, the term SDK stands for software development kit, which is basically a set of software development tools which help in the creation of applications based on a specific software package, hardware platform, operating system, software framework, computer system or video game console. The SDK is also referred to as dev kit by some. For some software the SDK includes only a set of files which form the user interface between the machine understandable programming language and the advanced hardware systems to communicate with the embedded systems. Almost all SDK tools include debugging aids and other utilities presented in the integrated development environment (IDE). Some SDKs also include sample codes and the supporting technical notes to clarify points from the chief reference material.
Like any other SDK, the Android software development Kit allows developers to create new applications based on the Android operating system. The Android Software Development Kit will be of use to develop applications in the Java language using other development tools. In order to use the SDK, the user needs to install it on the computer. The installation of the SDK is a bit more complicated compared to any average program.
SEE ALSO: How To Install Android SDK On Windows Platform?
However, if the following steps are followed properly, you will not face any problems in SDK installation.
Setup Guide For Android SDK Installation
Step 1: First download the latest Android SDK from the following link (http://developer.android.com/sdk/index.html)
Step 2: After the download, unzip its contents and save it to the root of C:\ (You will get a new folder within C:\ called “android-sdk-windows”)
Step 3: After installation open the android- sdk- windows folder double-click the SDK manager file to launch it.
Step 4: If you are launching the SDK manager for the first time you will be asked for the packages to be installed. Please select the following files which are necessary for SDK installation.
- Android SDK Tools, revision 15
- Google USB Driver package, revision 4
- Android SDK Platform-tools, revision 9
You can reject all the other options if you are not interested in them.
Step 5: Wait for the tools to get installed and close the manager after installation is complete.
Step 6: Now in the Control Panel select System Properties (for Windows XP) or System (for Windows Vista/7).
Step 7: Now select the Advanced settings; Click on the Advanced tab (for Windows XP) Click on Advanced system settings on the left. (for Windows Vista/7)
Step 8: In the next window click on Environment Variables.
Step 9: Now under the “System variable” option double-click the “Path” option.
Step 10: Now within “Variable values” option, input the following path %SystemRoot%;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools.
Step 11: If your Google USB Driver package doesn’t support your device, you can download the following drivers (github.com/gu1dry/android_winusb/zipball/master) and install it. This driver package supports all the android devices. After downloading the file unzip it and copy the android_winusb.inf file to the following path: C:\android-sdk-windows\extras\google\usb_driver\ to replace the existing android-winusb.inf file.
Step 12: In the smart phone make sure to enable USB Debugging by using the following path Settings>Applications>Development.
Step 13: Now connect the smart phone with the PC using the USB data cable.
Step 14: Now in the command prompt type “adb devices”. If the command list device then the installation was successful. If no devices are displayed go back to step 10 to reinstall the drivers.
Step 15: Now right-click on My Computer (for Windows XP) or Computer (for Windows Vista/7) and click on the manage option.
Step 16: In the next window click on the device manager icon on the left side of the window. If the drivers were properly installed you will see “Unknown Device” with a yellow exclamation mark (ADB).
Step 17: Now right-click on the ADB and click on the “Update Driver Software” option.
Step 18: Now click on the “Browse my computer for driver software” and in the next window select the “Let me pick from a list of device drivers on my computer” option.
Step 19: In the next window click on the option “Have Disk” and then select the “Browse” option.
Step 20: Now navigate to the following path ‘C:\android-sdk-windows\google-usb_driver’ and select “android_winusb.inf”.
Step 21: Please click on the ‘Android ADB Interface’. This will show a popup warning you about the hazards of doing it, simply click on the “Yes” option.
Step 22: After you complete the installation, open the computer’s command prompt and please type “adb devices”.
Step 23: If the command lists any devices, the installation was successful.
That’s it you have finished installation of Android SDK. You can now develop applications for your device and sell them on the Google Play store.
Do let us know if you any help in setting up the Android SDK, we will be glad to help you with the issues that you meet with during the process of Android SDK installation on Windows platform.