1.找到javah命令所在的目录
我的为 /usr/bin/javah
2.打开eclipse
如图点击第二项
3.配置 如图
${project_loc}/src
-classpath ${project_loc}/bin/classes -d ${project_loc}/jni -jni ${java_type_name}
是根据
$PROJECT_DIRECTORY/src$ javah -classpath ../bin/classes bt.nativeclient.BtnativeActivity
时间: 2024-10-18 04:03:21