天堂向右,我依然向左

天下之大,虽离家千里,何处不可往!何事不可为!
生活之路,纵坎坷曲折,当奋斗不息,则精彩纷呈!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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)

posted on 2011-08-23 22:35  老舟  阅读(355)  评论(0编辑  收藏  举报