Good afternoon, I encountered such a problem. In our project we use gradle and buildFlavor

productFlavors { arm { versionCode Integer.parseInt("8" + defaultConfig.versionCode) ndk { abiFilter "armeabi" } } x86 { versionCode Integer.parseInt("6" + defaultConfig.versionCode) ndk { abiFilter "x86" } } mips { versionCode Integer.parseInt("4" + defaultConfig.versionCode) ndk { abiFilter "mips" } } armv7 { versionCode Integer.parseInt("2" + defaultConfig.versionCode) ndk { abiFilter "armeabi" } } } 

Now there is a need to use a library that provides only arm / arm7 / mips libraries, is it possible to ignore this library on x86 / x64?

  • Better check. Most likely, it will work, due to the fact that on x86 devices arm binaries thanks to libhoudini - the arm code translator in x86, but 2 times slower. But there may be problems due to the fact that there are already some x86 binaries. Those. if there are only arm binaries, then it will work for sure - lsillarionov

0