Aab file not compiling

I've created an app with 4 screens, using the BLE Extension, Firebase, and the In-app Billing Extension. I have no yellow or red error warnings and I can compile the apk but cannot get it to compile the new app bundle package, .aab file for Google Play Store. I'm using the http://code.appinventor.mit.edu/ site to build as my app is 14MB as an APK and 26MB loaded /Installed on a device. Is there an app size limit for compiling the .aab file? Or is there a work around? Just wondering why I'm getting this error:

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
YAIL compiler - AAPT execution failed.

Seems to fail quickly.

Is this the best work around for now if I can compile the APK file?


Here are a few steps to modify and sign an App Bundle (.aab) file:

1 – Build your Android App with your App creation platform (i.e.: MIT’s App Inventor 2 ) and download the .apk file, as well as your keystore, to your PC.

2 – Modify your .apk file if needed. To do so, you can read our article “How to overcome MIT App inventor’s 5 meg limit for your apk files?” (only need to read elements 1 to 7). You will probably want to modify the AndroidManifest.xml file within your .apk and this procedure will allow you to do so…

3- Now you can read Shreya.ig’s excellent article “Edit or Modify the AAB file – change API 29 to 30 android 11” (important: follow the “ easy method – short “). This shall allow you to convert your .apk file into an .aab file.

4- Once done, read Tomer Shami’s very interesting “Tutorial for signing an AAB file“.

5- And there you go, you’ve now modified an .apk file, converted it to an App Bundle file (.aab) and signed it. You are now ready to export it to the Google Play console.

Well done!

Robert Radford, M.A.