0

I have been reading the answers here but I am making a mistake somewhere, I think it is my path.

In the questions that I looked at such as

they discussed paths. I tried that but was not working. I even thought that perhaps I just needed to restart bash as they said. So I saw how-do-i-reload-bashrc. But still when I run adb devices I get this error of.

-bash: adb: command not found

I then found this tutorial How to Install & Setup ADB on Mac OS X which had a slightly different approach by copying the ADB to a different directory in Documents. So now I have a duplicate directory of the Android SDK which just sounds like a bad idea. And that directory is now in my own user directory. Not in the main Applications folder where I have Android Studio.

Here is my code so far. I know that I need that first {PATH} But which one?

export PATH=${PATH}:/Users/juangallardo/Documents/android

And it fits into the rest of my file like this

enter image description here

Community
  • 1
  • 1
JGallardo
  • 11,074
  • 10
  • 82
  • 96

1 Answers1

0

Thtat's because the adb is not in the android folder, you need to go into the platform-tools folder of the android SDK, also make sure to reopen a new termina to load the .bash_profile...

You need to add a path like this:

/Users/YourUser/Downloads/android-sdk-macosx/platform-tools

Hope it helps!

Regards!

Martin Cazares
  • 13,637
  • 10
  • 47
  • 54