android studio 编写JNI时碰到的一些错误

1.cannot resolve corresponding JNI function java 解决办法:File--->Settings--->Plugins,将Android NDK Support(以下图中第一项)后面的对勾去掉。重启studio、android 2.写JNI方法的类名不能带下划线,至于为何我也不知道git 在编写时我本身带了下划线,而后用"javah -classpath
相关文章
相关标签/搜索