Looks like Build.CPU_ABI
is deprecated in favor of Build.SUPPORTED_ABIS.
However, how do I find out the ABI that is currently being used by my app?
For example, my tablet supports x86 first and armeabi-v7a next. However, the native library that is packaged is in lib/armeabi-v7a
directory. There is no lib/x86
directory in the apk. If I had no native libraries at all, the device would have used x86 ABI. However, given that the native library is present and is only armeabi-v7a type, the app has to fall back to armeabi-v7a ABI.
So how do I programatically determine which ABI my app is currently running in? Does Build.SUPPORTED_ABIS
automatically reorder the list? Regards.