I’m updating a game to the latest SDK 35. In Google Play Console I see a new warning for the old version: “Recompile your app with 16 KB native library alignment”.
Is this supprted in the latest OpenFL/Lime versions?
I’ve checked the package with APK Analyzer from Android Studio and do not get any Aligment warning for the native libs. No idea why I get the warning in the Play Console.
Does any Android Developer have similar warnings?
I think there is a provided tool that can assist with this: (zipalign | Android Studio | Android Developers)
Following the instructions here: Support 16 KB page sizes | Compatibility | Android Developers
(The Android NDK r28 and higher compile 16KB aligned by default and its recommended to build shared libraries with 16KB alignment. We should be building the .so in Lime with r28.)
Check out the release in the app Bundle Explorer.
I forgot that liblime.so also needs to be recompiled for NDK 28
Thanks. Need not see the details in the Bundle Explorer. Indeed liblime.so is the problem.
I’ve updated the 8.3.0-Dev branch to start using NDK 28 to compile liblime.so for Android.
Thank you. This works. The Play Console warning is gone.