Sunday, December 5, 2010

Guide to Installing ADB for Windows

Hello guys,

Here's the first guide that I'm writing for Milestone users and Android users in general. It involves the installation of Google's Android Debug Bridge for performing commands on any Android phone when hooked up to the computer.

1. Get the ADB tools from here

2. Extract and put the android-sdk-windows folder in the root folder of any drive. The root folder generally refers to the highest folder on the drive. For example. My adb folder is in J:\android-sdk-windows

Now, if you want to use adb like a normal command prompt function ( like ping or dir, etc ), you have to add it in the proper paths.

3. For Windows Vista/7 users, right click My Computer, select Properties and in the opened windows, click Advanced System Settings.
For Windows XP users, Right click My computer and just click Properties

4. Go to the Advanced tab and click on Environment Variables.

5. In the System Variables box, scroll down until you see the variable name "Path" on the left. Double click it.

6. At the end of the line ( for me, the end is C:\Program Files (x86)\QuickTime\QTSystem\ ) , add a semicolon ( ; ) and add the path of the tools folder in android-sdk-windows.

My example would look like C:\Program Files (x86)\QuickTime\QTSystem\;J:\android-sdk-windows\tools

This allows you to use your command prompt for adb work from any folder in the computer.

7. Restart the computer once youve clicked OK on all the windows.

8. Test the adb function. Open a command prompt window and just type adb then hit enter. If it says unknown command, you haven't added the path right.

9. However, if you run the command adb and a help file scrolling through all the possible switches show up, you have installed ADB correctly, and you can use adb commands from now on to do stuff to your phone while it's hooked up.

This concludes my ADB installation guide, good luck.

No comments:

Post a Comment