Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ffi: compress only ARM and x86_64 libraries when building the AAR
The UPX compression is known to cause issues on `x86` devices for certain Android API levels (e.g., API 30). Since `x86` devices constitute a very small percentage of the Android market (<1%, see links below), apps are unlikely to be shipped for this architecture and are typically used only for testing purposes. Therefore, compress only the ARM (`arm64-v8a` and `armeabi-v7a`) and `x86_64` libraries. * https://android.stackexchange.com/questions/186334/what-percentage-of-android-devices-runs-on-x86-architecture * https://web.archive.org/web/20170808222202/http://hwstats.unity3d.com:80/mobile/cpu-android.html Closes #703 Signed-off-by: Yuki Kishimoto <[email protected]>
- Loading branch information