adb: command not found ( from within the platform-tools directory ) on Mac OS X Yosemite

rad79 picture rad79 · Dec 25, 2015 · Viewed 18.4k times · Source

Ultimately I'm trying to get the device id for my note 5.

I've installed Android Studio along with the Platform-Tools 23.1

When I use terminal to go into the platform-tools folder and type adb I get "command not found"

Any ideas?

Thanks

enter image description here

Answer

Nicolae Natea picture Nicolae Natea · Dec 25, 2015

Since "platform-tools" is probably not part of the system path, you should try running: "./adb" instead of "adb" from the platform-tools location. Or use the full path to it.

Using "." would indicate that you are trying to launch adb from the current directory