分享

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

 陈喻 2021-10-19

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条评论

    发表

    请遵守用户 评论公约

    类似文章 更多