Android native crash initiating from /system/framework/arm/boot.oat

蹲街弑〆低调 提交于 2019-12-03 22:51:47

Together with one other developer, who was getting the same crash in his application, we discovered that it is triggered by the -z parameter of zipalign tool. (Recompress using Zopfli)

The exactly same APK crashes when aligned and recompressed with Zopfli and doesn't crash when aligned without recompressing.

I can only guess that Samsung made some modifications to the Android 5 and introduced some weird bug in the code that reads the APK. Until that is fixed or I have some better explanation, not using the -z in zipalign solves the problem.

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