JAVA_HOME=E:\Developer\Java\jdk1.7.0
ANDROID_HOME=E:\Developer\Android\android-sdk-windows
Path=%JAVA_HOME%\bin;%ANDROID_HOME%\\platform-tools;
CLASSPATH=.;%JAVA_HOME%\lib;%JAVA_HOME%\bin;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\htmlconvert.jar;%JAVA_HOME%\lib\servlet.jar;%JAVA_HOME%\lib\servlet-api.jar;%JAVA_HOME%\lib\junit-3.8.1.jar;
TOMCAT_HOME=E:\Developer\Java\Tomcat
===========================================
Cygwin 最快镜像
http://mirrors.163.com/cygwin/
Cygwin编译JNI:
cd /cygdrive/e/Developer/Android/android-ndk-r6/samples/hello-jni && /cygdrive/e/Developer/Android/android-ndk-r6/ndk-build
命令:
E:\Developer\Cygwin_Installed\bin\bash.exe --login -c "cd /cygdrive/e/Developer/Android/android-ndk-r6/samples/hello-jni && /cygdrive/e/Developer/Android/android-ndk-r6/ndk-build"
===========================================
NDK_Build:Build Path-->Config Path-->Builders-->New Program:
Main:
Location=E:\Developer\Cygwin_Installed\bin\bash.exe
Workong Directory=E:\Developer\Cygwin_Installed\bin\
Arguments=--login -c "cd /cygdrive/e/Developer/Android/android-ndk-r6/samples/hello-jni && /cygdrive/e/Developer/Android/android-ndk-r6/ndk-build"
Refresh:
Refresh resoures upon compltion=true
Recursively include sub-folders=true
Build Options:
Allocate Console = true
After a "Clean" = true
During manual builds=true
Druing auto builds=true
Specify working set of relevant resources=true
Specify Resources=jni(choose folder)
网名:@"老舟"
兴趣:@"影音,阅读"
动态:@"系统架构设计,Android通信模块开发"
网址:@"http://kilonet.cnblogs.com"
签名:@"--------------------------------------------------
Stay Hungry , Stay Foolish
求 知 若 渴,处 事 若 愚
--------------------------------------------------"
]; // Never Release