I am trying to run the command in ubuntu
android update project --path .
However I am getting a android:command not found
That's because your platforms
and platform-tools
are not in the PATH
environment variable. You can run the adb
command with path-to-adb/adb
or add platforms
and platform-tools
to PATH
and run typing only adb
This is my path environment variable:
PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools