Search code examples
adbandroid-sdk-tools

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


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


Solution

  • 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