Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

'adb' is not recognized as an internal or external command, operable program or batch file

I am trying to run google map v2 on emulator, I am following this tutorial. When I was trying to install required apk file on emulator, I am getting below error.

I tried to solve this using this tutorial.Followed all steps, added the path to paltform-tools to environment path. Also after modifying the PATH variable started a new CommandPrompt window.

But getting the same error. I need to check my google map application on emulator. Kindly suggest me.

'adb' is not recognized as an internal or external command,
operable program or batch file.

enter image description here

like image 836
Nibha Jain Avatar asked Dec 13 '13 10:12

Nibha Jain


People also ask

How do you fix adb is not recognized as an internal or external command operable program or batch file?

Set the path of adb into System Variables. You can find adb in "ADT Bundle/sdk/platform-tools" Set the path and restart the cmd n then try again. You can also go to the dir where adb.exe is located and do the same thing if you don't wanna set the PATH.

Why adb command is not recognized?

You may also get the “ADB command not found” error if you have an outdated version of ADB and Fastboot drivers. Installing the latest Android SDK Platform-tools on your PC might fix the problem. If you are trying to run ADB command from a location where 'adb.exe' and 'fastboot.exe' are not present.

How do I enable adb on Windows?

How to setup ADB on Microsoft Windows. Download the Android SDK Platform Tools ZIP file for Windows. Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “Open command window here” option.


2 Answers

Set the path of adb into System Variables. You can find adb in "ADT Bundle/sdk/platform-tools" Set the path and restart the cmd n then try again.

Or

You can also goto the dir where adb.exe is located and do the same thing if you don't wanna set the PATH.

If you wanna see all the paths, just do

echo %PATH%
like image 84
Jatin Malwal Avatar answered Oct 19 '22 21:10

Jatin Malwal


From Android Studio 1.3, the ADB location is at:

C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools.

Now add this location to the end of PATH of environment variables. Eg:

;C:\Users\USERNAME\AppData\Local\Android\sdk\platform-tools
like image 276
Vamsi Tallapudi Avatar answered Oct 19 '22 19:10

Vamsi Tallapudi