Anjali
Anjali

Reputation: 2698

adb command not found on Mac computer

I am trying to define the android_home path on my mac computer. Below is what i did:

vi ./bash_profile

in the vi editor, I have the following commands:

enter image description here

My android sdk location is below:

enter image description here

when I saved the vi editor and ran the adb command. I got an error saying

-bash: adb: command not found

I am now to Mac computer. I am not sure what am I doing wrong. can anyone help me with this.

Upvotes: 0

Views: 5630

Answers (1)

Melker Veltman
Melker Veltman

Reputation: 96

Did you try to restart the terminal window?

You need either do that or run source .bash_profile for the changes to take effect.

Upvotes: 8

Related Questions