Cannot upload an APK built with -t app-bundle flag to google play store

Hi everyone.

I created a new build on android using the expo cli command. The build was successful. I tried to submit the app for beta testing on the play store. I received the following error upon uploading the apk

Upload failed
Your APK cannot be analyzed using aapt. Error output:
Failed to run aapt dump badging:
ERROR: dump failed because no AndroidManifest.xml found

I am using expo 33 and just built using the following command
expo build:android --release-channel prod-v2 --non-interactive --no-publish -t app-bundle

Note: Removing the -t app-bundle flag and submitting the resulting apk fixes the problem. So something is not quite right with the build process when using app-bundle flag and I am wondering if someone has managed to submit an app successfully to the store using it.


1 Like


Did you try to upload .aab file directly on play store? Support for upload command for aab files was added in expo-cli@2.20.8, make sure you have at least this version. Also Android App Bundles are supported only for apps that have App Signing by Google Play enabled.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.