Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


buildAppBundle

Set to true to build an Android App Bundle (aab file) instead of an apk. The default value is false.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool buildAppBundle { get; set; }

Remarks

This property applies to Android builds that are distributed as an app bundle rather than an APK. You can also set this property in the Unity Editor using the Build App Bundle setting in the Build Profiles window for Android.
When this property is true, the PlayerSettings.Android.buildApkPerCpuArchitecture property is ignored.