Android Question Building app bundle Error

hamed6513

New Member
Hello,
I encounter no issues when generating an APK output for my project. However, when attempting to obtain an App Bundle output, I face an error, and the .aab file isn't created.

Copying libraries resources (5.55s)
Building app bundle Error
[BT:1.5.0] Error: Native library files need to have paths in form 'lib/<single-directory>/<file>.so' but found 'lib/yuv-decoder.c'.
com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Native library files need to have paths in form 'lib/<single-directory>/<file>.so' but found 'lib/yuv-decoder.c'.
at com.android.tools.build.bundletool.model.exceptions.UserExceptionBuilder.build(UserExceptionBuilder.java:58)
at com.android.tools.build.bundletool.validation.BundleFilesValidator.validateModuleFile(BundleFilesValidator.java:94)
at com.android.tools.build.bundletool.validation.ValidatorRunner.validateBundleModulesUsingSubValidator(ValidatorRunner.java:81)
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)


I've experimented with the following JDK versions, but the problem persists: jdk1.8.0_201, jdk1.8.0_202, jdk-8u201, jdk-11.0.1, jdk-14.0.1.

Upon inspection, it seems the issue relates to a library named Hitex_GPUImageEdited. Yet, I'm unsure how to resolve it.

How can i fix it?
 
Top