From e672fc41d67b45e087ea13b19a265a3444842f74 Mon Sep 17 00:00:00 2001 From: Oleksii Bulenok Date: Wed, 22 Jul 2026 13:24:40 +0200 Subject: [PATCH] build android script limit resources --- scripts/buildAndroidRelease.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/buildAndroidRelease.sh b/scripts/buildAndroidRelease.sh index 77aeb63d11..0d5d0698a8 100755 --- a/scripts/buildAndroidRelease.sh +++ b/scripts/buildAndroidRelease.sh @@ -41,7 +41,9 @@ trap 'rm -f "$BUILD_MARKER"' EXIT pnpm intl:compile cd "$ANDROID_DIR" -./gradlew assembleRelease +# Build only arm64: Apple Silicon Macs run arm64 emulator images and all modern +# devices are arm64, so the other three ABIs just quadruple the NDK compile. +./gradlew assembleRelease --max-workers=2 --no-daemon -PreactNativeArchitectures=arm64-v8a # Grab the freshly built APK: not an already-renamed bsky-* file, and newer than # the marker so it is guaranteed to be this run's output. There are no ABI splits