Native library not loading under Android 4.0.3 (MIUI ROM)

送分小仙女□ 提交于 2019-12-12 16:26:30

问题


A customer contacted me - an Android app of mine broke once he updated his Android ROM to MIUI equivalent to Android 4.0.3. The relevant line in LogCat is:

04-09 10:37:09.326 17789 17789 E AndroidRuntime: java.lang.UnsatisfiedLinkError: Couldn't load mylib: findLibrary returned null

The app, needless to say, worked before the upgrade. So the native library did not go magically missing. Any ideas why would Android 4.0.3 refuse to load a native library where earlier versions would? The library is built for x86 and for armeabi (not for armeabi-v7a though). The crash report contains the following lines:

[ro.product.cpu.abi2]: [armeabi]
[ro.product.cpu.abi]: [armeabi-v7a]

So armeabi should be supported, right?

Possibly relevant info: here. But the situation in the bug is the inverse of what I've got here.

来源:https://stackoverflow.com/questions/10076176/native-library-not-loading-under-android-4-0-3-miui-rom

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