Fix Error ‘adb’ is not recognized as an internal or external command

- Advertisment -
- Advertisement -

If you are getting the error ‘ADB’ is not recognized as an internal or external command, operable program or batch file” while running the ADB command in command prompt or Power Shell, here is the solution.

The Android Debug Bridge a.k.a adb is a command line tool which is a part of  Android SDK Bundle and also available individually. Android debug bridge is a simple and practical tool for managing Android devices; it is also an Android simulator, a very important mobile phone tool, belonging to Android SDK, through which you can directly manage or operate your Android emulator, including the real android device, but also system upgrades, software installation, run commands, etc., so that the user will then operate your mobile phone on this computer, including the management of mobile phone data, port mapping Download the uploaded file, etc. You can download ADB files individually from here to flash your smartphone: Download the ADB ZIP file for Windows

So, coming to the main topic of this tutorial, the ADB as the individual package comes in a zipped file which we have to navigate through Command Prompt to run adb and other command line tools for android available in that. However, many times on Windows 10/8/7 when we try to run adb we could get an error “‘adb’ is not recognized as an internal or external command, operable program or batch file“. This error appears because there is no system variables for that on computer. Here, we show how to do that but before doing it download JavaSE on your computer if you have not installed it.

Step 1: Download JavaSE

To download and install the Java Run time environment, first visit Oracle’s official website here is the link. On the download page click on the Java Platform (JDK) Download button and then scroll down to all the available platform options. Agree to terms and conditions and then select the Windows _X64_bin.exe.

After downloading double click on the setup and install JavaSE on Windows 10/8/7.

Install Java run time environment in Windows

Step 2: My Computer properties

Right click on My Computer icon present on Desktop or in Windows Explorer right side and select the option Properties.

My Computer properties

Step 3: Go to Advanced System Settings

On the right side of the system properties, you will find an option “Advanced system Settings” click on that.

system advance settings windows 10

Step 4: Set System Variables

Go to Environmental Variables Button and click that.

Environmentals variables

Double click on Path System Variables

System variables path

Select the Browse button

Browser system variables path

Browse the folder where you have the adb files.

For example, in our case, we have downloaded the ADB files on the desktop, so we browsed and selected the same. In the same way, select your ADB folder.

Select platfroms tools folder

Now the system variables for ADB has set, press OK button and get back to your ADB folder.

Save the new enviroenmental path

Step 5: Run ADB command

Open the ADB folder press the Shift key and right-click to select Power shell. In some cases, it could show Command Prompt or both Prompt & Shell. In our case only the Power shell was there, so we selected that.

Open ADB fodler in power shell

Run any ADB command and this time you won’t find the error ‘adb’ is not recognized as an internal or external command, operable program or batch file at all.

adb error will not appear

Other Useful Resources:

 

Sayan Deyhttps://www.how2shout.com/
He has experience of working in the Telecom industry for more than two years as a Radio Frequency Engineer in different top companies. Plus depth technical knowledge of Electronics Appliances & Gadgets. When he is not working then he is a Hardcore Gamer, Novel Reader, and Football Player.

6 COMMENTS

  1. The edit environment variable UI not showing in my windows 10?When I double clicked the system path variable it showing manual editing path panel?Is that possible to work with it?

      • Yes, just to use ADB for connecting smartphone you don’t need Java installation, however, for developing purpose one need it. Thus to avoid any future errors the author has started it with the Java installation.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

How to run Chrome extensions on Microsoft Edge Chromium browser

It is long since we know about Microsoft Edge, which is Microsoft's endeavour to dominate the market of browsers....

How to get dark mode on WhatsApp to keep eyes stress free

WhatsApp keeps adding new features to the app, and most features turn out to be useful for us, except...

73% of software developers willing to invest Rs 10-20k per year for upskilling

The rapid development in the technology area is compelling the firms and developers to gear up their technology skills...

Sony accidentally confirmed a massive News leak on PS5

The PlayStation 5 launch is just around the corner. Also, the rumours are about an upcoming meeting of Sony...
- Advertisement -

Horizon: Zero Dawn is Coming to PC, all about its release

There is news coming up from the insider sources that Sony is already working on their project to release...

WhatsApp Dark Mode is available for Android users, test it now!

Finally, to save the oil of eye lamps especially for those continuously do chats on WhatsApp, Dark Mode is...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you