Abi Specific Android Resource Qualifier
Solution 1:
PackagingOptions can be combined with ProductFlavors to achieve any level of flexibility, but this is not necessary to achieve your declared goal.
I invite you to use the trick that I proposed a while agp. The bottom line is that if you put the executables in the expected directories under jniLibs, and give them funny names that start with lib and end with .so, Android build tools will happily pack them into your APK, and the installer will happily prepare them to be used according to the ABI.
This way, you can use the full power of ABI-determined split, as well.
Solution 2:
Unfortunately, fake *.so libs under lib/ doesn't appear to work anymore. They aren't available in file system. /data/..../{app}/lib only contains real libraries. Something must have changed in the Android runtime.
Post a Comment for "Abi Specific Android Resource Qualifier"