Android之error: 'const struct JNINativeInterface' has no member named 'callVoidMethod'

来源:互联网 发布:一路发微博营销软件 编辑:程序博客网 时间:2024/05/16 07:14

1、问题

error: 'const struct JNINativeInterface' has no member named 'callVoidMethod''obj' undeclared (first use in this function)



2、原因

JNINativeInterface
callVoidMethod函数写错了


obj 函数参数没有定义



3、解决办法

把callVoidMethod函数改成CallVoidMethod函数就可以了

函数参数改成obj就行了

0 0