How to build android app bundle .aab?
-
Hi all!
I found that Monaca Cloud IDE supported android platform 8.1.0, but how to build .aab in it?
-
Cordova does not have support for building .aab files at this time, so Monaca (which is based on Cordova) also will not. As far as I can tell, if you need to make an aab, you’ll need to download the code and use Android Studio and/or Gradle to create the bundle.
-
@redbrain
Monaco is supported cordova android platform 8.1.0 and cordova android 8.1.0 is supported .aab bundle packages. See here:
https://cordova.apache.org/announcements/2019/09/17/cordova-android-release-8.1.0.html
But how to build it in Monaco?
-
This is currently not supported in Monaca Cloud IDE.
-
@emccorson
Are the developers of Monaca planning to add this feature?
-
There hasn’t been anything announced yet.
-
Yes you can deploy your release as a .aab file in Monaca. Go to your Build for Android menu, click on Release tab, scroll down to find this: “Package Type:App Bundle (.apk) Configure”, Click on Configure and change the settings to deploy as .aab instead of .apk. Save and return. Then proceed as usual.