Reputation: 175
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:
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
.
Upvotes: 1
Views: 3684
Reputation: 31473
You should add the following to your /etc/profile
file (at the end of the file) or you can do it just for your user editing /home/your_user/.bashrc
:
ANDROID_HOME=/home/myusr/opt/android-sdk-linux
export ANDROID_HOME
PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
export PATH
Logout/Login from your shell. You can verify the result with:
printenv
Upvotes: 5