Skip to content

fix: unique APK filename per ABI split#647

Merged
najuna-brian merged 1 commit into
OpenDataEnsemble:devfrom
najuna-brian:fix/ci-abi-split-apk-naming
Jun 4, 2026
Merged

fix: unique APK filename per ABI split#647
najuna-brian merged 1 commit into
OpenDataEnsemble:devfrom
najuna-brian:fix/ci-abi-split-apk-naming

Conversation

@najuna-brian
Copy link
Copy Markdown
Contributor

Description

Fixes the GitHub Actions Build Formulus Android APK failure after merging per-ABI release splits (#646).

assembleRelease was failing at :app:packageRelease because every ABI split used the same custom APK filename. Parallel packaging then tried to write META-INF/com/android/build/gradle/app-metadata.properties into the same zip twice.

The custom naming block now uses output.versionCode and includes the ABI in the filename (e.g. formulus-v1.0.1-202-arm64-v8a-release-YYYYMMDD.apk).

Test plan

  • Local ./gradlew assembleRelease produces four distinct release APKs (armeabi-v7a, arm64-v8a, x86, x86_64)
  • :app:packageRelease completes without the app-metadata.properties overwrite error
  • GitHub Actions Build Formulus Android APK passes on this PR

Copy link
Copy Markdown
Contributor

@r0ssing r0ssing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

@najuna-brian najuna-brian merged commit bcf093d into OpenDataEnsemble:dev Jun 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants