Description
When using eas build --auto-submit (or eas submit) with buildType: "app-bundle" in a bare workflow project, the EAS submission worker downloads the build artifact archive but passes it directly to fastlane supply with an .apk extension instead of extracting the .aab from inside the archive.
Steps to Reproduce
- Bare workflow project with
eas.json:
"android": {
"buildType": "app-bundle"
}
- Run
eas build --platform android --profile production --auto-submit
- Build succeeds and produces a valid
.aab wrapped in a .tar.gz archive
- Submission fails
Submission Worker Logs
The fastlane summary table in the submission logs shows the archive being passed as an APK without extraction:
| apk | /tmp/submissions/<id>/application_<build-id>.tar.gz.apk |
Then immediately fails:
Google Api Error: Invalid request - APKs are not allowed for this application. - Retrying...
[!] Google Api Error: Invalid request - APKs are not allowed for this application.
Fastlane supply failed
The worker is appending .apk to the .tar.gz filename and passing it directly to fastlane, instead of extracting the .aab from within the archive.
Expected Behavior
The submission worker should extract the .aab from the .tar.gz archive and pass it to fastlane as an AAB (aab parameter), not as an APK.
Workaround
Manually download and extract the archive, then submit with --path:
curl -sL "<Application Archive URL>" -o /tmp/android_build.tar.gz
tar -xzf /tmp/android_build.tar.gz -C /tmp/ bundle/release/app-release.aab
eas submit --platform android --profile production --path /tmp/bundle/release/app-release.aab --non-interactive
Environment
- EAS CLI:
18.0.6
- Platform:
darwin-arm64
- Node:
v22.13.0
- Workflow: bare (
android/ directory present in project)
buildType: app-bundle
- Android directory detected (EAS ignores
android.package from app.config.ts in favour of native value)
Description
When using
eas build --auto-submit(oreas submit) withbuildType: "app-bundle"in a bare workflow project, the EAS submission worker downloads the build artifact archive but passes it directly tofastlane supplywith an.apkextension instead of extracting the.aabfrom inside the archive.Steps to Reproduce
eas.json:eas build --platform android --profile production --auto-submit.aabwrapped in a.tar.gzarchiveSubmission Worker Logs
The fastlane summary table in the submission logs shows the archive being passed as an APK without extraction:
Then immediately fails:
The worker is appending
.apkto the.tar.gzfilename and passing it directly to fastlane, instead of extracting the.aabfrom within the archive.Expected Behavior
The submission worker should extract the
.aabfrom the.tar.gzarchive and pass it to fastlane as an AAB (aabparameter), not as an APK.Workaround
Manually download and extract the archive, then submit with
--path:curl -sL "<Application Archive URL>" -o /tmp/android_build.tar.gz tar -xzf /tmp/android_build.tar.gz -C /tmp/ bundle/release/app-release.aab eas submit --platform android --profile production --path /tmp/bundle/release/app-release.aab --non-interactiveEnvironment
18.0.6darwin-arm64v22.13.0android/directory present in project)buildType:app-bundleandroid.packagefromapp.config.tsin favour of native value)