Installing and using ADB

In order to install the Android Debug Bridge (ADB) and connect your device to a computer, you need to perform two steps:

  • Install ADB on your PC
  • Enable developer mode

ADB is a tool developed by the Android project and is available for free on the Android SDK. We suggest a stripped-down version like the "15 seconds ADB installer" to avoid downloading the very large sized full SDK.

Installing ADB

  1. Once you have downloaded the application, double click on it to start the installation. If you have never installed ADB on your PC, answer ‘Y’ to all questions.
  2. abd 1
  3. After installation, check it by running the ADB command on the command line.
  4. Start the Command Prompt application and type ADB . You should see the ADB help text as shown below:
abd 2 Once ADB is installed, it is time to enable developer mode on your Android device and connect it to the PC.

 

Enabling developer mode

  1. Go to Settings on Android and click on “About tablet/phone/device” option.
  2. enable abd 1
  3. Scroll down to the Build number entry and click on it seven times. As you click, you will see messages stating you are about to become a developer.
  4. enable adb 2
  5. Once you are in developer mode, hit back and click on the new “Developer Options” option.
  6. enable adb 3
  7. Scroll down to the Debugging section and hit "USB Debugging" option.
  8. enable adb 4
  9. A confirmation dialog box will pop-up. Hit “OK”.
  10. enable adb 5
  11. Connect your device to the PC with a USB cable. You will be prompted with a authorization dialog box. Check “Always allow from this computer” and hit “OK”.
  12. enable adb 6
  13. At this point, your device is ready to use ADB. Open the Windows Command Prompt and type ADB devices. The connected device should be listed:
  14. enable adb 7
Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn