Skip to content

Invalid App Bundle : 'BundleConfig.pb' file missing #165

Closed as not planned
Closed as not planned
@crat1985

Description

@crat1985

Here is the complete error :

[BT:1.15.6] Error: The archive doesn't seem to be an App Bundle, it is missing required file 'BundleConfig.pb'.
com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: The archive doesn't seem to be an App Bundle, it is missing required file 'BundleConfig.pb'.
	at com.android.tools.build.bundletool.model.exceptions.UserExceptionBuilder.build(UserExceptionBuilder.java:58)
	at com.android.tools.build.bundletool.validation.MandatoryFilesPresenceValidator.checkBundleHasBundleConfig(MandatoryFilesPresenceValidator.java:73)
	at com.android.tools.build.bundletool.validation.MandatoryFilesPresenceValidator.validateBundleZipFile(MandatoryFilesPresenceValidator.java:60)
	at com.android.tools.build.bundletool.validation.ValidatorRunner.lambda$validateBundleZipFile$0(ValidatorRunner.java:42)
	at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:422)
	at com.android.tools.build.bundletool.validation.ValidatorRunner.validateBundleZipFile(ValidatorRunner.java:42)
	at com.android.tools.build.bundletool.validation.AppBundleValidator.validateFile(AppBundleValidator.java:103)
	at com.android.tools.build.bundletool.commands.BuildApksCommand.execute(BuildApksCommand.java:900)
	at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:83)
	at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:55)

It happens also when I try to upload it on Google Play.
It happens if the app is signed and if it isn't.

I created a repo if you want the files : https://github.com/RIC217/test-winit-android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions