Repository navigation
fix(android): build an app bundle, and say so once instead of twice - #685
Merged
Merged
Conversation
The production Android profile asked for two different things: "buildType": "apk", "gradleCommand": ":app:bundleRelease" An APK and an app bundle. Google Play has required an AAB for new apps since August 2021, so "apk" is the wrong one of the two — and whichever EAS actually honours, a profile that names both is a coin toss nobody should have to call before an upload. Now `"buildType": "app-bundle"` and nothing else. `gradleCommand` is the older escape hatch that buildType replaced; with buildType correct it has nothing left to say, and leaving it would just recreate the ambiguity. Nothing regresses: no Android build has ever been produced on any profile, so there is no prior artifact shape to preserve. That is also why this is worth fixing before the first one rather than after.
This was referenced Sep 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found while preparing the Google Play listing.
The production Android profile asked for two different things at once:
An APK and an app bundle. Google Play has required an AAB for new apps since August 2021, so
"apk"is the wrong one of the two — and whichever EAS actually honours, a profile that names both is a coin toss nobody should have to call before an upload.Now
"buildType": "app-bundle"and nothing else.gradleCommandis the older escape hatch thatbuildTypereplaced; withbuildTypecorrect it has nothing left to say, and leaving it in would just recreate the ambiguity.Nothing regresses
No Android build has ever been produced, on any profile —
eas build:list --platform androidcomes back empty. So there is no prior artifact shape to preserve, and no existing Play upload to stay compatible with.That is also the reason this is worth fixing before the first build rather than after: the first AAB uploaded to Play establishes the app signing key, and a wrong-format first attempt is a rejected upload rather than a silent problem.
Also still placeholder, not fixed here
submit.production.android.serviceAccountKeyPathis the literal string"../path/to/service-account-key.json". Play submission has never been configured. That needs a real service account JSON from the Play Console, which does not exist yet — so it stays as-is until the console app is created rather than being changed to something equally fictional.🤖 Generated with Claude Code