android maven lion
1、配置环境变量:
~/.bash_profile
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/contents/Home
~/.bash_login
export ANDROID_HOME=/Developer/android-sdk-macosx
export PATH=$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH
/etc/launchd.conf
setenv JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/contents/Home
setenv ANDROID_HOME /Developer/android-sdk-macosx
hostname:~ user$ launchctl setenv JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/contents/Home
hostname:~ user$ launchctl setenv ANDROID_HOME /Developer/android-sdk-macosx
参考:
No Android SDK path could be found. Using maven android plugin under Mac OS
Set an Environment Variable in Mac OS X - /etc/launchd.conf
BOOTSTRAP PROJECTS USING THE MAVEN-ANDROID-ARCHETYPES
maven集成eclipse android项目办法总结 *****