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...
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...
相关文章推荐
- Android编码规范
- HBuilder app开发:mask遮罩实现父子页面联动。
- 三、晓凡调试-Android开发版之应用调试
- iOS textfield浅析
- iOS开发 - 苹果开发者账号那些事儿(二)
- Android View事件分发与传递
- iOS block的用法
- iOS 开发中区分当前iPhone或iPad设备
- 续【C#微信结合百度api获取当前用户的地理位置】代码详解
- iOS-设置导航栏透明及字体、左右按钮、边框颜色
- Android ViewGroup.setDescendantFocusability函数
- Android四大组件之acticity整理
- iOS开发 - 苹果开发者账号那些事儿(一)
- IOS--CALayer实现,界限、透明度、位置、旋转、缩放组合动画(转)
- Android ViewTreeObserver简介
- ArcObject IFeature set_Shape()和Delete()报错
- Android 之 下拉框(Spinner)的使用
- IOS学习笔记05_2-Swift-命名空间
- 移动版&PC版微信登陆功能
- Android环境