Generate C and C++ Header File

1.

1

2. 其中bootclasspath 后面的参数就是自己android.jar具体位置

location: ${system_path:javah}

working Directoy: ${project_loc}/jni

Arguments:

-d "${project_loc}/jni/"

-classpath  "${project_classpath};" 

-bootclasspath "E:/DEV/Android/android-sdk/platforms/android-19/android.jar"

${java_type_name}

2

3.

3

4.

4

5.

5

做完以上5步,点击run即可,对ndk-r8以上适用,不需要安装cygwin.

posted @ 2015-11-09 00:17  jasonkent27  阅读(326)  评论(0编辑  收藏  举报