From 266b08a80dfbd507e638125892fd01f3f4a15c2f Mon Sep 17 00:00:00 2001 From: zarzet Date: Tue, 14 Jul 2026 07:14:26 +0700 Subject: [PATCH] chore(ci): drop the amd64 gomobile slice abiFilters already strips --- .github/workflows/release.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80ad722b..aa42cf84 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -117,9 +117,11 @@ jobs: working-directory: go_backend run: | mkdir -p ../android/app/libs - # arm/arm64 for shipped APKs, amd64 so the universal APK still works - # on x86_64 emulators; 386 devices no longer exist. - gomobile bind -target=android/arm,android/arm64,android/amd64 -androidapi 24 -o ../android/app/libs/gobackend.aar . + # arm/arm64 only: ndk.abiFilters in app/build.gradle.kts strips + # every other ABI from all outputs (universal APK included), so an + # amd64 slice would never reach a shipped APK — it only bloats the + # aar and slows this step. + gomobile bind -target=android/arm,android/arm64 -androidapi 24 -o ../android/app/libs/gobackend.aar . env: CGO_ENABLED: 1