ADB Command or Not Found: 5 Ways to Enable it

Running the ADB command from the installation directory should do the trick

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

adb command not found
A message from our partner

Resolve multiple Windows PC issues and speed up your PC effortlessly with specialized software.

  • Download HelpSoft PC Cleaner and install it on your PC.
  • Click on Start Scan button to find corrupt or broken files that affect your PC.
  • Now the software will start the fixing process and boost your PC performance.
Download now HelpSoft PC Cleaner has been downloaded by 0 readers this month

Have you ever received an ADB command not found error message when you were trying to connect your smartphone to your personal computer? This error prevents you from running developer commands on your phone, but it can be easily fixed.

How can I fix the ADB command not found error?

1. Select Media Transfer Protocol on your phone

  1. The first thing that you will have to do 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 Android ADB Interface or Android Phone option, under Other Devices, and select Update driver.
  3. Select Browse my computer for driver software.
  4. Now, select Let me pick from a list of device drivers on my computer.
  5. Now, a window dialog will show up on your screen with the text Show all devices, click Next.
  6. Click Have Disk.
  7. After this, go to the location where you have installed the SDK. Usually is C:\Program Files\Android\android-sdk\extras\google\usb_driver
  8. Then you will have to double-click on android_winusb.inf and select Android ADB Interface.
  9. Now, click on Yes, followed by Install.
  10. After the process is complete, you will have to close the window.

For more information, we have an in-depth guide on how to download ADB drivers for Windows 11.

3. Enable USB Debugging and Developer Options

  1. The first thing that you will have to do will be to go to your phone Settings and Select About.
  2. Here, tap the Build number seven times to enable Developer Options.
  3. Then, you will have to go back and select Developer Options.
  4. Now, scroll down and tap on USB Debugging.

This can help you if zsh: command not found: adb error appears, so be sure to try it.

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 one of the paths below: C:\Program Files (x86)\Android\android-sdk\tools C:\Program Files (x86)\Android\android-sdk\platform-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 the Android SDK installation directory.
  2. Press and hold the Shift key, and right-click the space inside the directory. Choose the Open PowerShell window here option.
    open powershell window here ADB command not found
  3. Once the PowerShell window opens, try running the ADB command.

5. Create a user or system variable path for ADB or fastboot

  1. Press the Windows key, type advanced system, and choose View advanced system settings.
    advanced adb command not found
  2. Click on the Environment variables button.
    environment
  3. Now, select any item under the System or User variables sections, and click the New button.
    new
  4. Type Path as the Variable name.
  5. Next, click the Browse Directory button, select platform-tools, and click OK.
    path
  6. Finally, click the OK button to confirm the changes, and remember to click the OK button on the Environment variables button.

We hope this article and our solutions helped you fix the ADB inaccessible or not found message.

If you encounter the ADB reboot bootloader is not working on your PC, check our detailed guide to fix it quickly. Many also reported that ADB is not recognized in Windows 11, but we have a guide that addresses that.

For some users, the ADB driver is not installing, but our dedicated article should help you fix that.

Feel free to let us know the solution that helped you fix this issue in the comments below.

More about the topics: Android issues, Device Connection Error

User forum

1 messages