PDA

View Full Version : The Noobish guide to Android Debug Bridge-ADB



Pac3comm1
08-23-2010, 10:47 AM
An SDK, or Software Developer’s Kit, is a Tools kit that allows Android developers work on apps and Android OS itself. Please follow the link to learn more and download SDK tools:

SDK Developer Tools

[HIDE-THANKS]
[Only registered and activated users can see links]
[/HIDE-THANKS]

SDK tools also allow you to use ADB (Android Debugging Bridge) to make changes to your phone using PC Command Prompt.


To access ADB through your Windows computer:

1. Go to your Start Menu and select “Run.”

2. A Run dialogue will pop up; type “cmd” and hit OK. A Windows Command Prompt window will open.

3. Navigate to the tools folder inside of the Android SDK folder (where adb.exe is located). To accomplish this, you need to know the exact file path of the tools folder, which can be found at top of Windows Explorer when tools folder is opened.

4. Copy your file path for use in the Command Prompt. First type "cd" (change directory), then right-click and paste the file path. If successful, Command Prompt should say: "c:\...\sdk\tools." If you got an error “The system cannot find the path specified”, most likely the path was entered incorrect.

Tip: Windows Vista and 7 users may go into their tools folder, highlight the full address and simply replace it with “cmd”. Press enter and Command Prompt will open and will be pointed at the folder.
To test out, you can type "adb" enter....

Some of the MOST common Droid commands that you will see, include:
adb push – to copy files from computer to the Droid.
adb pull – to copy files from the Droid to the computer.
adb shell – Emulates Unix terminal so that you can use Unix Commands from the Command Prompt. (Learn more about Unix Commands for Droid modding)
adb reboot – to reboot the Droid
The first time you attempt to use commands, you will get a pop up on your Droid requesting permission. Select "Always" and allow to avoid it in future.

Pac3comm1
08-23-2010, 11:32 AM
oops didnt mean to thank myself