cannot resolve corresponding JNI function

来源:互联网 发布:mac菜单栏添加图标 编辑:程序博客网 时间:2024/06/06 10:08

转载请标明出处:http://blog.csdn.net/xx326664162/article/details/52944441 文章出自:薛瑄的博客

你也可以查看我的其他同类文章,也会让你有一定的收货

网上下了一个Android源码,导入Android Studio中之后无法调试,其中有问题的代码是这样的:

错误提示:

Cannot resolve corresponding JNI function Java_com_keepassdroid_crypto native_AesCipherSPI_UpdateReports native method declaration in Java where no corresponding JNI function is found in the project.

解决办法:

1.File—>Settings—>Plugins,将Android NDK Support(如下图中第一项)后面的对勾去掉。
这里写图片描述
2.重新启动Android Studio并加载project。

参考:Cannot resolve corresponding JNI function
cannot resolve corresponding JNI function

1 4
原创粉丝点击