Search code examples
androidadb

bash: adb: command not found error on Mac


I have android studio installed on my Mac book pro. I am running ads devices. But its just not working. I get the error

Enochs-MBP:platform-tools enochfernandez$ adb devices
-bash: adb: command not found

I have installed the platform-tools in my path but still no success.

This is what I get for my echo PATH

Last login: Wed Jan  3 11:00:40 on ttys000
Enochs-MBP:~ enochfernandez$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Enochs-MBP:~ enochfernandez$ 

Solution

  • Go to your Library folder on your mac.

    ~/Library/Android/sdk/build-tools/VERSION/

    ADB is part of your Android studio installation. It should be located in above path.