您的位置:首页 > 移动开发

Android5.0: JNI DETECTED ERROR IN APPLICATION

2015-08-12 14:15 477 查看
Android 5.0+ uses a different virtual machine (previously Dalvik, and now ART). This new VM is much more strict with JNI code. One
of the check that is made now is that you are not allowed to call native code from within an Exception.
You can find more details at http://developer.android.com/training/articles/perf-jni.html#exceptions.
If you are not the author of the native library, the author needs to correct it. Meanwhile, it may be possible for you to avoid the call to the native calls by avoiding the exceptions from Java, but if the exception occurs in a library you do not own, it may
as well not be possible...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: