Adb: command not found

Looks like the adb command is missing on my system. I get the same result if I plug in my Note II with debug enabled as well. Can not find any help for this online. How can I resolve this?

Here is my path which is the same in the bash_profile and also in bashrc:

export PATH=$PATH:/Users/SM/Desktop/projects/devSDKS/adt-bundle/sdk/platform_tools
export PATH=$PATH:/Users/SM/Desktop/projects/devSDKS/adt-bundle/sdk/tools

Here is the emulate message:

cordova emulate android
Generating config.xml from defaults for platform "android"
Preparing android project
Running on emulator for platform “android” via command “/Users/SM/Desktop/projects/devAPIS/hybrid-iconic/hello/platforms/android/cordova/run” --emulator
[Error: An error occurred while emulating/deploying the android project.
/Users/SM/Desktop/projects/devAPIS/hybrid-iconic/hello/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error executing “adb devices”: /bin/sh: adb: command not found

]

And the run message:

cordova run android
Generating config.xml from defaults for platform "android"
Preparing android project
Running app on platform “android” via command “/Users/SM/Desktop/projects/devAPIS/hybrid-iconic/hello/platforms/android/cordova/run” --device
[Error: An error occurred while running the android project.
/Users/SM/Desktop/projects/devAPIS/hybrid-iconic/hello/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: Error executing “adb devices”: /bin/sh: adb: command not found

]

This is now fixed, see Cordova Emulate Error issue.

2 Likes