Android Intel device will only run armeabi or x86 .so libraries, but not a mixture of both? -


i have 2 .so libraries in apk:

1) librarya: builds arm architectures because don't want port of code x86. it's massive undertaking.

2) libraryb: builds arm , x86. arm libhoudini emulator slow intel devices run library @ decent speed, must have x86 port working fine.

the lib folders in apk this:

../lib/armeabi/librarya
../lib/armeabi/libraryb

../lib/x86/libraryb (note: x86 not have librarya)

when install/run apk on intel device, defaults arm architecture .so libraries , ignores x86 version of libraryb. result being, it's emulated , slow production. works great on arm device though, no problem there.

how force android work correctly on intel device emulates arm version of librarya , runs x86 version of libaryb?

for sake of completeness, i'm using android-ndk-r10d build.

i can trick android load x86 version of libraryb putting arm compiled version of librarya in "../lib/x86" folder. though librarya compiled arm, still load , android load x86 version of libraryb.

../lib/armeabi/librarya
../lib/armeabi/libraryb

../lib/x86/librarya (compiled arm, still works)
../lib/x86/libraryb (compiled x86)


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -