ADB command not found error [QUICK FIX]

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
Download PDF
Affiliate Disclosure

  • 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.
ADB command not found

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

enable MTP ADB command not found

  1. The first thing that you will have to do it will be to check if your smartphone is plugged in correctly.
  2. After this, you will have to select the USB connection notification on your phone.
  3. Then, you will have to select MTP to be your connection mode.

2. Update ADB Interface

  1. Open Device Manager.
  2. Right-click on the option Android ADB Interface or Android Phone, located under Other Devices and -> Select Update Driver Software.

  3. Select Browse my computer for driver software -> Select Let me pick from a list of device drivers on my computer.

  4. Now, a window dialog will show up on your screen with the text Show all devices -> Click Next -> Click Have Disk.
  5. 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.
  6. Now, click on Yes -> Click Install.
  7. After the process is complete you will have to close the window.

Can’t connect your Android phone to Windows 10? Fix that problem with this guide!

3. Enable USB Debugging and Developer Options

  1. The first thing that you will have to do it will be to go to your phone Settings -> Select About.
  2. Here, just tap on Builder number for seven times which enables Developer Options.
  3. Then, you will have to go back and select Developer Options.
  4. Now, just scroll down and tap on USB Debugging.

4. Run ADB command from the installation directory

  1. Open Command Prompt.
  2. 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
  3. Try running the ADB command from these directories.

Alternatively, you can open Command Prompt in the Android SDK directory by doing the following:

  1. Open Android SDK installation directory.
  2. Press and hold the Shift key, and right-click the empty space inside of the directory. Choose Open PowerShell window here.
    open powershell window here ADB command not found
  3. 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.