Install and Use ADB, the Android Debug Bridge Utility - - Windows Tips and Tricks with Geek

Tuesday, November 2, 2021

Install and Use ADB, the Android Debug Bridge Utility

 Android logo ADB

Step One: Download Platform Tools

Download Platform Tools.

Head to the Android SDK Platform Tools download page. Select the link for your operating system from the “Downloads” section. This will download a ZIP file, which you can unzip wherever you want to store the ADB files–they’re portable, so you can put them anywhere you want.

That’s all we have to do for now. Just make sure to remember where you unzipped the files, we will need to access that later.

Step Two: Enable USB Debugging on Your Phone

To use ADB with your Android device, you must enable a feature called “USB Debugging.” Open your phone’s app drawer, tap the Settings icon, and select “About Phone”. Scroll all the way down and tap the “Build Number” item seven times. You should get a message saying you are now a developer.

Head back to the main Settings page, and you should see a new option in the “System” section called “Developer Options.” Open that, and enable “USB Debugging.”

Enable USB Debugging.

Later on, when you connect your phone to your computer, you’ll see a popup entitled “Allow USB Debugging?” on your phone. Check the “Always allow from this computer” box and tap OK.

Step Three: Test ADB and Install Your Phone’s Drivers (if Needed)

Open the Command Prompt and change the directory to where you unzipped the file earlier. You can do this by entering the command below. Replace the file destination with your own:

CD C:Program Filesplatform-tools

To test whether ADB is working properly, connect your Android device to your computer using a USB cable and run the following command:

adb devices

You should see a device in the list. If your device is connected but nothing appears in the list, you’ll need to install the appropriate drivers.

In the vast majority of cases, your PC will automatically detect your phone and set it up with the appropriate drivers. If that doesn’t happen, you can usually find the drivers for your device from the XDA Developers forums.

If you download the drivers manually, you may have to force Windows to find them on your device. Open the Device Manager (click Start, type “Device Manager”, and press Enter), locate your device, right-click it, and select Properties. You may see a yellow exclamation mark next to the device if its driver isn’t installed properly.

Right-click on your device in Windows Device Manager and select "Properties"

On the Driver tab, click “Update Driver.”

Click the "Update Drive" button in the Drive tab

Use the Browse my computer for driver software option.

Click on the "Browse my computer for driver software" button

Find the drivers you downloaded for your device.

Locate the drivers you downloaded and select "Next"

Once you’ve installed your device’s drivers, plug in your phone and try the adb devices command again:

adb devices

If all went well, you should see your device in the list, and you are ready to start using ADB!

No comments:

Post a Comment