Version: 2019.2
public static bool buildAppBundle ;

Description

Set to true to build an Android App Bundle (aab file) instead of an apk. The default value is false.

This property is only applicable to builds for Google Play.

To build an Android App Bundle you must also set the EditorUserBuildSettings.androidBuildSystem property to AndroidBuildSystem.Gradle.

When this property is true, the PlayerSettings.Android.buildApkPerCpuArchitecture property is ignored.