I'm on a Mac running Mavericks trying to learn how to develop Android apps (in the process I'm learning bash too).
To run on the emulator they suggest the command android avd.
I always get the error in the title of this post. I've searched all over and the issue seems to lie with changing the PATH.
I've amended .bash_profile as such:
export PATH=/usr/local/bin:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=/development/dev_android/sdk/tools:$PATH
but it's still not working.
Any thoughts?
$PATHto make sure it's actually set the way you want it to be (echo $PATH)? Simply adding things to~/.bash_profiledoes not mean it's actually been sourced by your shell. – goldilocks Jul 11 '14 at 17:45source ~/.bash_profile. That file is usually only sourced when you log in, and not when you start a new shell or open a new terminal (but OSX may implement its own additional rules). INVOCATION underman bashexplains this. You may also be interested in this. – goldilocks Jul 11 '14 at 19:49