Native crash at /system/lib/libart.so on lollipop android 5.0.1 samsung

匿名 (未验证) 提交于 2019-12-03 01:48:02

问题:

I've an app built using cordova on google Play Store. The app works on all devices and models, except on a few Samsung devices running on android 5.0.1 (Note3 and Note4). The app crashes on launch. The crash stack trace is the following:

    *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'samsung/treltexx/trelte:5.0.1/LRX22C/N910CXXU1BOC5:user/release-keys' Revision: '21' ABI: 'arm' pid: 25267, tid: 25267, name: anari.kanariapp >>> com.kanari.kanariapp , art::DexFile const&, art::DexFile::ClassDef const&)+102) #03 pc 000d7aad /system/lib/libart.so (art::ClassLinker::FindClassInPathClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, art::Handle<:mirror::classloader>)+484) #04 pc 00211297 /system/lib/libart.so (art::VMClassLoader_findLoadedClass(_JNIEnv*, _jclass*, _jobject*, _jstring*)+286) #05 pc 0001b241 /system/framework/arm/boot.oat 

回答1:

This appears to be a problem with Samsung extensions and zipalign -z (Zopfli compression). Remove the "-z" and the problem should go away.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!