Monday 28 May 2012

How to install Android SDK


Today we will discuss how to install Android SDK.

The term SDK stands for software development kit, which is basically a set of software development tools which assist 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 devkit by some. For some software the SDK includes only a set of files which form the interface between the machine understandable programming language and the sophisticated 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 is used 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.


However, if the following steps are followed properly, you will not face any problems in SDK installation.

Step 1:         First download the latest Android SDK from the following link here.

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 subsequent 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 installation is finished, 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 also sell them on the Google Play store.

Please contact us in case of any difficulties, we will try to address your problems.

No comments:

Post a Comment