Dalvik.system.pathclassloader Can't Find Jni On Intel Devices
I'm having an issue where the dalvik.system.PathClassLoader can't find my jni file on Intel devices. I think it has to do with the structure of an aar dependency I have because onc
Solution 1:
You can mix libs compiled for x86 and for arm only if they don't depend on each other (ie. if they don't call each other directly without going through Java).
So gradle will not mix libs targeting different architectures, it's really your responsibility to do that and the most simple way is indeed to copy your libLibraryA.so
to an x86 folder.
But doing this is a workaround that will work only on retail Intel-based devices. I don't recommend that: the right thing to do would still be getting a version of libLibraryA.so
compiled for x86 and putting it inside the x86 folder.
update: as said in my comment below, loading an arm lib from the app's x86 folder isn't supported anymore with Android 5.0.
Post a Comment for "Dalvik.system.pathclassloader Can't Find Jni On Intel Devices"