Saturday, September 10, 2011

Simple Steps To Install ADB With Android SDK

One of the major advantages of android phones is it allows to customize the overall characteristic of the device. For example, if you need to push unmovable applications from phone memory to SD card, it can be done by a simple adb command(without root). Then obviously you ask what is adb? ADB stands for Android Debug Bridge. In other words it's a part of the software development kit (SDK) which is used for customization and development of android OS. ADB allows you to interact with your phones file system through a terminal based interface like command prompt. Since android is based on the Linux platform, ADB can be used to perform advanced operations using a command prompt window.

Here's the simple step by step manual to install adb alosng with SDK in your computer. Note that in many references, you may notice procedure to install addons like eclips. Keep in mind that if you're not a programmer or android developer, you'll not need this. I skipped it here to reduce complexity so that most users can take advantage of this post.

Follow this procedure :

1. Click here to download Android SDK (android-sdk_r12-windows.zip)
2. Extract the zip file so you'll get a folder named android-sdk-windows
3. Copy the folder to c drive  C:
In this folder, you have SDK Manager, double click on the green icon. Probably you'll get an error message like Java not find in your path...


Dont worry we are' going to download java..

4. To download Java Platform, Enterprise Edition 6 SDK - Click here. (java_ee_sdk-6u3-jdk-windows.exe )
5. To install java double click on java_ee_sdk-6u3-jdk-windows file.
6. Within a few seconds, your installer will be ready


7. Click Next and select typical installation, select install directory as C:\glassfish3 or something else.
8. Click Next and Install. Java application will be installed within a few minutes.
9. Setting the Path variable For Java: For SDK manager to detect java in your system, you need to set the path variable for this.
  • Right click on my computer and click properties, click advanced tab and click Environment variables.
  • Under system variables double click on Path to edit it. make sure that you're not deleting the existing entry in the path variable value, separate entries or paths by a semicolon.


  • Enter   ;C:\glassfish3\jdk\bin  (Assuming that you're installed java in C:\glassfish3 ) Click Ok for all windows.

10. Goto C:\android\android-sdk-windows and double click SDK manager. This time it should find java and will execute.
This opens up Android SDK and AVD manager. When launching it for the first time, it'll present a window to choose packages ti install. You should check ‘Android SDK Platform-tools’ and uncheck all other options by using accept or reject button. By hitting install, you'll start downloading the package.Once the process is done, you will have a ‘platform-tools’ folder inside your SDK folder. ie; android-sdk-windows


11. Setting the Path variable For ADB : To make ADB along with other Android SDK tools and easily accessible from anywhere at the command line, we shall add these directories to path variable. To do this repeat the procedure in step 9 and add the following line to variable field:
;C:\android-sdk-windows\tools;C:\android-sdk-windows\platform-tools

12. Install the USB drivers for your device. This depends on your device. this can be done by installing the software package that comes along with the device such as KIES for Samsung phones.

13. You're almost done. To test whether your phone is connecting to adb or not plug your phone to computer via USB cable. make sure that USB debugging is enabled on your device. ( Press menu > Settings > Applications > Development )14. Open command prompt in your computer by Start > programs > Accessories > Command Prompt

Type adb devices


Now your connected device will show up with a serial number.

Note: Dont play with adb commands if you dont know what is doing because it can even make your phone useless. So be careful. Best of luck..

Custom Search

0 comments:

Post a Comment

Please enter your name while commenting.

Related Posts with Thumbnails
 
Free Domain Full RSS - Comments RSS Computer Blogs - BlogCatalog Blog Directory Top Blogs Alitu.com - General Website Directory
Powered by Blogger