I am following the instructions at http://code.google.com/p/maven-android-plugin/wiki/GettingStarted in order to use maven with my android projects (I am learning android). I am stuck at the steps:
- Set environment variable ANDROID_HOME to the path of your installed Android SDK and add $ANDROID_HOME/tools as well as $ANDROID_HOME/platform-tools to your $PATH. (or on Windows %ANDROID_HOME%\tools and %ANDROID_HOME%\platform-tools).
Will someone please show me how to complete that step?
I am using linux Natty Narwhal and eclipse juno to test the samples. The path to my Android SDK is /home/myusr/opt/android-sdk-linux.
You should add the following to your
/etc/profilefile (at the end of the file) or you can do it just for your user editing/home/your_user/.bashrc:Logout/Login from your shell. You can verify the result with: