Error while generating .aab file

I want to generate my .abb file but i got this error. Anyone can help what is the problem with my app.
App Inventor is unable to compile this project.
The compiler error output was
________Preparing application icon
________Creating animation xml
________Creating style xml
________Creating provider_path xml
________Creating network_security_config xml
________Generating adaptive icon file
________Generating round adaptive icon file
________Generating adaptive icon background file
________Generating manifest file
________Attaching native libraries
________Attaching Android Archive (AAR) libraries
________Attaching component assets
________Invoking AAPT
AAPT2 compile time: 0.481 seconds
YAIL compiler - AAPT2 link execution failed.

Is this error also coming when you build an APK? Aapt can have a lot of causes. Did you search the community for all the topics we have on that.

You will have to tell more about your project then just posting an error message.

i can generate my apk file. only problem when i want to generate .aab file

Turns out this error can happen when you include the or speech recognizer. We just deployed a fix, which is rolling out now to the buildservers.

Having the same issues. I can compile an APK but not he aab file. I have a large project, with 4 screens, BLE, Firebase, in app billing extension, and firebase auth extension. Any ideas on what is causing the compile failure?

Is there a problem with Text to Speech component?