From 6508dfa8a7e4582a5dfe21435a6c41a622ac9a47 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 10 Aug 2026 07:47:26 +0200 Subject: [PATCH] fix(android): emit ARM64-only Pixel 10 APK --- PIXEL_10.md | 3 ++- pubspec.yaml | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/PIXEL_10.md b/PIXEL_10.md index bde3e945..8320c604 100644 --- a/PIXEL_10.md +++ b/PIXEL_10.md @@ -32,7 +32,8 @@ the generated assets and native runtime, then run: melos run build-browser-pixel10 --no-select ``` -The command produces: +The command asks Flutter for a split ARM64 artifact, verifies that no other +ABI is packaged, and publishes it under the stable path: ```text apps/weblibre/build/app/outputs/flutter-apk/app-pixel10-release.apk diff --git a/pubspec.yaml b/pubspec.yaml index 128f9763..7d40c2e6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -111,5 +111,8 @@ melos: run: | set -e cd apps/weblibre - flutter build apk --release --flavor pixel10 --target-platform android-arm64 --no-tree-shake-icons + flutter build apk --release --flavor pixel10 --target-platform android-arm64 --split-per-abi --no-tree-shake-icons + arm64_apk="$(find build/app/outputs/flutter-apk -maxdepth 1 -type f -name '*pixel10*' -name '*arm64-v8a*' -name '*release.apk' -print -quit)" + test -n "$arm64_apk" + mv "$arm64_apk" build/app/outputs/flutter-apk/app-pixel10-release.apk ../../scripts/verify-pixel10-apk.sh build/app/outputs/flutter-apk/app-pixel10-release.apk