Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»[Solved]“ADB is Not Recognized as an Internal or External Command”

[Solved]“ADB is Not Recognized as an Internal or External Command”

Bishwo TamliBy Bishwo TamliOctober 31, 2022
adb-is-not-recognized-as-an-internal-or-external-command

ADB is an advanced command line used for debugging your android phone or for other developmental purposes. The “ADB is not recognized as an internal or external command” error occurs when trying to execute the ADB command or trying to install ADB for the first time in either Command Prompt or PowerShell.

It usually occurs because SDK Platform Tools, which contains the ADB package, isn’t installed or when Command Prompt or PowerShell can’t access it.

As this error only occurs for these reasons, you can quickly fix them by downloading SDK or configuring your System Environment Variable.

Table of Contents

  • How to Fix “ADB is Not Recognized as an Internal or External Command”
    • Download SDK Platform Tools
    • Run ADB From Platform Tools Folder
    • Set System Environment Variable Path

How to Fix “ADB is Not Recognized as an Internal or External Command”

You can fix this particular error by simply making sure the SDK Platform Tools is downloaded and your command line and terminal can access them. You can go through the method below to solve this error.

Download SDK Platform Tools

Without the SDK PLatform Tools, your ADB command will not work no matter what. So, you should first make sure that you have it installed. 

Here’s how you can install SDK Platform Tools on your computer:

  1. Download SDK Platform Tools for Windows from the official website,
  2. Right-click on the downloaded .zip file and choose Extract All. (Double-clicking the zip file will open it. You can also copy and paste the folders inside to a different location to extract the zip file.)
    extract-all-the-downloaded-platform-tool-sdk
  3. Click on Browse and select a folder where you want to save the extracted files.
    extract-file-after-download
  4. Click on Select Folder and Extract.

The above method uses the default file extractor that is built into Windows File Manager. If you like, you can also use other file extraction tools like WinRAR or 7-zip.

Simply installing the SDK Platform Tool will not get rid of this particular error. You will also need to give command line interfaces access to the extracted folder for the adb command to work. You can use either one of the methods below to do so.

Run ADB From Platform Tools Folder

The Command Prompt or Powershell can not access the Platform Tools folder by default. So, you can directly give them this access by opening Command Prompt or Terminal from the extracted folder to fix the issue.

Here’s how to do so:

  1. Go to the location where you have extracted the SDK Platform Tools and open the Platform Tools folder.
  2. Enter cmd in the Address bar to open Command Prompt in that folder. (You can also change the current directory to that of the extracted folder to let it access this particular folder.)
    platform tools cmd address bar
  3. Enter the adb command, and it should start working.
  4. For Powershell, right-click the empty area in the Platform Tools folder and select Open in Terminal.
    platform tools open in terminal
  5. Check if the adb command works now.
  6. If it doesn’t work in PowerShell, you may need to utilize the command as .\adb

This method will let Command Prompt and PowerShell access the Platform Tools folder, but you will have to always use this method for the ADB command to work. You can use the method below if you want a more permanent fix.

Set System Environment Variable Path

You can set the file path of the Platform Tools folder as default in System Environment Variable to fix this error permanently. When a folder is set as a system variable path, command line tools can access the contents in those folders regardless of the current working directory.

Here’s how you can do it:

  1. Launch Run box by pressing Windows + R hotkey.
  2. Enter sysdm.cpl to open System Properties.
    sysdm cpl
  3. Go to the Advanced header.
  4. Click on Environment Variables.
    system environment variables
  5. In System variables, double-click on Path.
  6. Click on Browse from the right options menu.
    edit environment variables browse
  7. Navigate to where the Platform Tools folder (SDK Platform Tools extracted folder) is located.
    browser for folder platform tools
  8. Select that folder and click on OK.
  9. Click OK and OK again.
fix
Bishwo Tamli

I'm a tech enthusiast, and I've always been troubleshooting errors by myself for years. I also like keeping up to date with the latest technology and gadgets.

Related Posts

how to take screenshot windows 11

How to Take Screenshot Windows 11

January 22, 2023
how to set chrome as default browser windows 11

How to Set Chrome as the Default Browser Windows 11

January 20, 2023
windows 11 go back not working

Windows 11 Go Back Not Working? Here’s How to Fix it

January 18, 2023
powershell get-aduser

How To Use PowerShell Get-ADUser

January 17, 2023
pc stuck on boot screen

PC Stuck on Boot Screen? Here’s How to Fix It

January 16, 2023
start menu wont open

Start Menu Won’t Open? 7 Ways to Fix it

January 13, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to set chrome as default browser windows 11

How to Set Chrome as the Default Browser Windows 11

January 20, 2023
6800xt vs 3080

6800xt vs 3080 – Which One is Better?

January 20, 2023
cat6 vs cat6a

CAT6 vs CAT6A: What’s the Difference

January 19, 2023
You may also like
how to take screenshot windows 11

How to Take Screenshot Windows 11

January 22, 2023
how to connect two monitors to a laptop

How to Connect Two Monitors to a Laptop (in 5 Steps)

January 22, 2023
how-to-sign-out-of-netflix

How to Sign Out of Netflix?

January 20, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.