Bug? Building app bundle Error

alirezahassan

Active Member
Licensed User
hi, i have an error with the last version of B4a (11.20)
B4A Version: 11.20
Parsing code. (0.29s)
Java Version: 11
Building folders structure. (0.22s)
Running custom action. (0.08s)
Running custom action. (0.08s)
Running custom action. (0.07s)
Compiling code. (0.39s)

ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.06s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (3.25s)
Linking resources (2.82s)
Compiling generated Java code. (14.34s)
Convert byte code - optimized dex. (28.44s)
Copying libraries resources (3.83s)
Building app bundle Error
[BT:1.5.0] Error: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'.
com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'.
at com.android.tools.build.bundletool.model.exceptions.UserExceptionBuilder.build(UserExceptionBuilder.java:58)
at com.android.tools.build.bundletool.validation.DexFilesValidator.validateDexNames(DexFilesValidator.java:78)
at com.android.tools.build.bundletool.validation.DexFilesValidator.validateModule(DexFilesValidator.java:63)
at com.android.tools.build.bundletool.validation.ValidatorRunner.validateBundleModulesUsingSubValidator(ValidatorRunner.java:78)
at com.android.tools.build.bundletool.validation.ValidatorRunner.lambda$validateBundleModules$4(ValidatorRunner.java:64)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
at com.android.tools.build.bundletool.validation.ValidatorRunner.validateBundleModules(ValidatorRunner.java:63)
at com.android.tools.build.bundletool.validation.BundleModulesValidator.validate(BundleModulesValidator.java:82)
at com.android.tools.build.bundletool.commands.BuildBundleCommand.execute(BuildBundleCommand.java:231)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:71)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:47)
 
Top