jni can't find method from native lib?
This question already has an answer here:
The format of method names used in JNI is different to regular C and C++ if you don't specify extern 'C' JNI will be unable to find the function to match your Java native declarations. alternatively you can try RegisterNatives()
链接地址: http://www.djcxy.com/p/40490.html上一篇: 对extern关键字感到困惑
下一篇: jni无法从本地库找到方法?