This means the android
command is not in your PATH
. Try typing which android
. It should give you the location if it is within your PATH
.
Usually android
can be found in your SDK directory under tools
You've got two options:
- run the command with
your_sdk_path/tools/android update project --paht
add android to your
PATH
withexport PATH=$PATH:/your_sdk_path/tools