I am trying to run the command in ubuntu
android update project --path .
However I am getting a android:command not found
android:command not found
Assuming that you have set ANDROID_HOME to point to the sdk install, you should add $ANDROID_HOME/tools and $ANDROID_HOME/platform-tools to your PATH.
ANDROID_HOME
$ANDROID_HOME/tools
$ANDROID_HOME/platform-tools
PATH