How to start with Android Debug Bridge

Android Debug Bridge, or ADB, is a command line tool. ADB is used to order Android phones and tablets, when they are connected to the PC via USB.

Android Debug Bridge, or ADB, is a command line tool. ADB is part of the Android SDK Bundle and can also stand alone. ADB is used to order Android phones and tablets, when they are connected to the PC via USB.

ADB is designed specifically for Android developers, but there are many useful things that you, as a regular consumer, can do with ADB, including phone sideload, root, and phone applications. file between phone and computer, create backup, as well as screen recorder.

But how do you get started with ADB? Let's find the answers through the following article!

Install ADB on Windows

1. Download Android SDK Platform Tools for Windows. (You can also download versions for Mac or Linux, on the same website).

How to start with Android Debug Bridge Picture 1How to start with Android Debug Bridge Picture 1

How to start with Android Debug Bridge Picture 2How to start with Android Debug Bridge Picture 2

2. Unzip the zip file after downloading. It is more useful to save this file in the C: drive or Home folder (in Linux) for easy access.

How to start with Android Debug Bridge Picture 3How to start with Android Debug Bridge Picture 3

3. Open the Platform-tools folder and hold the Shift key while right-clicking on the folder.

4. Select the 'Open PowerShell window here' option . (On some computers, the option may be 'Open command window here' ).

How to start with Android Debug Bridge Picture 4How to start with Android Debug Bridge Picture 4

When you complete these steps, ADB will be set up on the computer.

If you are using Linux or Mac, please refer to the article: How to install and use ADB & Fastboot on Mac, Linux simply for more details.

The next step is to enable USB debugging on the phone.

Activate USB debugging on Android mobile devices

The steps to enable USB debugging may vary slightly on different Android phones. Refer to the article: How to enable USB Debugging mode on Android for details on how to do it.

It's better to check the 'Always allow this computer' option , if you're using a computer you trust. This option makes the experience you will have when using ADB smoother and allows you to 'rescue' data from your inactive device.

ADB inspection

To determine if the connection between your phone and computer is working, check ADB by running the same steps you did to open the Command Prompt above.

1. Connect your phone to the PC.

2. Enter adb devices into the command window and press Enter .

How to start with Android Debug Bridge Picture 5How to start with Android Debug Bridge Picture 5

3. If your device is listed, you have made a successful connection.

What happens if ADB does not work?

If you don't see the message on your phone with 'Allow USB debugging' content , after you've set up everything, don't panic! Fixing this error can be very easy, by restarting the phone or changing options for USB to transfer images or MIDI.

If the message still doesn't appear, run the ADB test. If you get a scary red text, tell you that 'ADB is not recognized as an internal or external command .' , then try the following steps. They will add system variables to ADB to the computer.

1. Visit Oracle's official website here.

2. Scroll down to find links to all the options available for Java SE to download.

How to start with Android Debug Bridge Picture 6How to start with Android Debug Bridge Picture 6

3. Select 'dk-12.0.1_windows-x64_bin.exe' . (That is the latest version up to the time of the article).

4. Download JavaSE.

5. Double-click the installation file to install JavaSE.

6. After the Java installation finishes, right-click the My Computer icon in Windows Explorer.

How to start with Android Debug Bridge Picture 7How to start with Android Debug Bridge Picture 7

7. Select Properties.

8. In the window that opens, select Advanced System Settings .

How to start with Android Debug Bridge Picture 8How to start with Android Debug Bridge Picture 8

9. Click the Environment variables button .

How to start with Android Debug Bridge Picture 9How to start with Android Debug Bridge Picture 9

10. Select the path listed in the bottom box of the window and click Edit.

How to start with Android Debug Bridge Picture 10How to start with Android Debug Bridge Picture 10

11. Click Browse and navigate to the location where you previously saved the Platform-tools folder .

How to start with Android Debug Bridge Picture 11How to start with Android Debug Bridge Picture 11

12. Select the Platform-tools folder and click OK.

13. Now, in Windows Explorer, navigate back to the Platform-tools folder and open the Command Prompt the way you originally did.

14. In the Command Prompt, enter adb devices . Your device will display now.

If your device is displayed as 'unauthorized', check your phone. The USB debugging box will now display, allowing your computer to access the phone. You have finished setting up and ready to use ADB!

Hope you are succesful.

3.5 ★ | 2 Vote