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

前端 未结 1 596
忘了有多久
忘了有多久 2021-02-18 21:05

After recent update of my application in Google Play, I started receiving lot of crash reports, all of them are from Samsung devices with Android 5. Lower android versions work

相关标签:
1条回答
  • 2021-02-18 21:40

    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.

    0 讨论(0)
提交回复
热议问题