From 275fc84a4aaee8c6ed4cc12132a6ee4a592128f2 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 6 Sep 2026 12:08:52 -0600 Subject: [PATCH] CLI: ship uncompressed native libs (extractNativeLibs=false) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Android template asked the installer to extract and copy every .so out of the APK at install time. Since Android 6.0 the loader can map them straight from an uncompressed, page-aligned APK, which is smaller on disk, faster to install, and — the reason it matters here — the only form in which a 16 KB-page-aligned library stays aligned. Play requires 16 KB page support for apps targeting API 35+, so the extracted path is now a correctness problem, not only a size one. --- .../cli/assets/android/gen/app/src/main/AndroidManifest.xml.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/assets/android/gen/app/src/main/AndroidManifest.xml.hbs b/packages/cli/assets/android/gen/app/src/main/AndroidManifest.xml.hbs index c04bd1e09..dd9f00041 100644 --- a/packages/cli/assets/android/gen/app/src/main/AndroidManifest.xml.hbs +++ b/packages/cli/assets/android/gen/app/src/main/AndroidManifest.xml.hbs @@ -17,7 +17,7 @@ {{{ raw_manifest }}}