How to solve adb is not recognized as internal or
external command
I got this error when I try to emulate my cordova
project using android emulator in command prompt.
when I execute below command
Error executing "adb devices": 'adb' is not recognized as an internal or external command, operable program or batch file.
This error occurs because you don't have the platform-tools folder
located in your path .Your path should include both platform-tools and tools
folder in path.
Place where your adt-bundle locate \adt-bundle-windows-x86_64-20131030\sdk\platform-tools;
Place where your adt-bundle locate \adt-bundle-windows-x86_64-20131030\sdk\tools
If you go to your android-sdk/tools folder you
will find that the adb tool is no longer there .It has moved to the platform-tools/
But in a case If you don't see this directory in your
SDK,
- launch the SDK and AVD Manager
- Install "Android SDK Platform-tools"
- Right click on your This-PC (My computer) ->
- Properties->
- Advance System Settings->
- Advanced->
- Environmental variables->
- System variables->
- Select path variable->
- Edit
Now you are free to execute adb from any location.
Restart your command prompt and enjoy.. :)