- ADB (Android Debug Bridge) is a command-line tool that is used to connect a smartphone with a computer and enable the PC user to communicate with the mobile device and perform debugging operations.
- If the ADB command is not found, most likely you need to install the Android SDK Platform-Tools package to make it available in the command prompt. Also, the phone should be in USB debugging mode.
- We write about many different topics and you can check out our dedicated Android section for interesting news, guides and troubleshooters.
- Debugging a phone application is easier with the right tools. Visit our Debugging & Diagnostics section or simply perform a search for anything else you need.
Have you ever received ADB command not found error message when you were trying to connect your smartphone to your personal computer? This error will prevent you from running developer commands on your phone, but in this article, we’re going to show you how to fix it.
How can I fix ADB command not found error?
1. Select Media Transfer Protocol on your phone
- The first thing that you will have to do it will be to check if your smartphone is plugged in correctly.
- After this, you will have to select the USB connection notification on your phone.
- Then, you will have to select MTP to be your connection mode.
2. Update ADB Interface
- Open Device Manager.
- Right-click on the option Android ADB Interface or Android Phone, located under Other Devices and -> Select Update Driver Software.
- Select Browse my computer for driver software -> Select Let me pick from a list of device drivers on my computer.
- Now, a window dialog will show up on your screen with the text Show all devices -> Click Next -> Click Have Disk.
- After this, go to the location where you have installed the SDK. Usually is C:Program FilesAndroidandroid-sdkextrasgoogleusb_driver. Then you will have to double click on android_winusb.inf -> Select Android ADB Interface.
- Now, click on Yes -> Click Install.
- After the process is complete you will have to close the window.
3. Enable USB Debugging and Developer Options
- The first thing that you will have to do it will be to go to your phone Settings -> Select About.
- Here, just tap on Builder number for seven times which enables Developer Options.
- Then, you will have to go back and select Developer Options.
- Now, just scroll down and tap on USB Debugging.
4. Run ADB command from the installation directory
- Open Command Prompt.
- Navigate to the directory where Android SDK is installed in Command Prompt. By default it should be:
- C:Program Files (x86)Androidandroid-sdktools
- C:Program Files (x86)Androidandroid-sdkplatform-tools
- Try running the ADB command from these directories.
Alternatively, you can open Command Prompt in the Android SDK directory by doing the following:
- Open Android SDK installation directory.
- Press and hold the Shift key, and right-click the empty space inside of the directory. Choose Open PowerShell window here.
- Once the PowerShell window opens, try running the ADB command.
We hope that this article and our solutions helped you fix ADB command not found error on your PC. If you found these solutions helpful, let us know in the comments section below.
FAQ: Learn more about ADB command
- How do I enable ADB?
To enable ADB you need to follow the article on how to enable USB debugging and developer option.
- How can I install ADB on Windows 10?
adb (Android Debug Bridge) comes together with the Android SDK Platform-Tools package. Install the package from the official source, select Windows, agree with the term and download the archive. Then you unzip it and install the tools. After thi, ADB is available on your computer.
- Why ADB is not recognized?
If there is no Android SDK Bundle installed, then adb might not be available on your computer. Install it via Android SDKK Platform-Tools package and the adb command will be recognized. In addition, make sure to update your PATH variable with the location of the Android SDK.
Editor’s Note: This post was originally published in July 2019 and has been since revamped and updated in April 2020 for freshness, accuracy, and comprehensiveness.