My Android app, within NDK built .so files, crashes on the ASUS ZenFone 5 device just like the issue in this link (Android) Native crash at /system/lib/libhoudini.so on Asus Phone
It seems the libhoudini.so, the ARM to x86 translator, can not work under certain conditions so I tried to directly provide an x86
arch .so file within my app.
The APK could run on most x86 devices including the x86 simulators. However, on this device I get an issue:
java.lang.UnsatisfiedLinkError: Couldn't load game from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.myapp-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.myapp-1, /vendor/lib, /system/lib, /system/lib/arm]]]: findLibrary returned null
It seems this Intel Atom based device ignores the lib/x86
folder in the APK file.
How can I make this device load the right so file with right arch?