# buildAppBundle

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

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
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](/engine/6000.7/manual/platform-specific/android/building-and-delivering/build-settings.md) setting in the **Build Profiles** window for Android.

When this property is true, the [PlayerSettings.Android.buildApkPerCpuArchitecture](/engine/6000.7/script-reference/unityeditor/playersettings/android/buildapkpercpuarchitecture.md) property is ignored.
