Mac 上编写在androidStudio中编写JNI方法(native)的时候,爆红。
提示cannot resolve corresponding JNI function。
如何解决:
可以AndroidStudio->Preferences > Editor > Inspections
进去之后搜索JNI
就会出来Missing JNI function
可以看到他被勾了,这个时候把勾去掉,点击OK
就可以看到正常了。
完美解决。
Mac androidStudio cannot resolve corresponding JNI function
原文:http://www.cnblogs.com/bokezhilu/p/7653482.html