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.
- 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.
- After installation, check it by running the ADB command on the command line.
- Start the Command Prompt application and type ADB
. You should see the ADB help text as shown below:
Enabling developer mode
- Go to Settings on Android and click on “About tablet/phone/device” option.
- 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.
- Once you are in developer mode, hit back and click on the new “Developer Options” option.
- Scroll down to the Debugging section and hit "USB Debugging" option.
- A confirmation dialog box will pop-up. Hit “OK”.
- 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”.
- 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: