"adb: command not found" when doing ionic run android


#1

I get this error try to launch the app on the device using ionic:

/Applications/MAMP/htdocs/dev/epicollect5-ionic/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error executing “adb devices”: /bin/sh: adb: command not found

Error: /Applications/MAMP/htdocs/dev/epicollect5-ionic/platforms/android/cordova/run: Command failed with exit code 8
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)

this is my PATH variable, sdk is added:

export PATH=${PATH}:/Users/mirko/Desktop/Mirko/Android-sdk/adt-bundle-mac-x86_64/sdk/platforms-tools:/Users/mirko/Desktop/Mirko/Android-sdk/adt-bundle-mac-x86_64/sdk/tools

It runs ok from Eclipse