From c5577c997e3f2e3bb5031c1c6ea505177c2cf56f Mon Sep 17 00:00:00 2001 From: Taewan Park Date: Sat, 6 Jul 2024 03:59:05 +0900 Subject: [PATCH] Preserve APK alignment when signed with apksigner --- .github/workflows/release-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 0db3d6e..00d2e4a 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -49,7 +49,7 @@ jobs: env: SIGNING_PASSWORD: ${{ secrets.KEY_PASSWORD }} run: | - apksigner sign --ks keystore.jks --ks-pass env:SIGNING_PASSWORD --out app-release.apk app-release-unsigned.apk + apksigner sign --ks keystore.jks --alignment-preserved true --ks-pass env:SIGNING_PASSWORD --out app-release.apk app-release-unsigned.apk working-directory: ${{ github.workspace }}/app/build/outputs/apk/release - name: Sign Release App Bundle