buildAppBundle
Set to true to build an Android App Bundle (aab file) instead of an apk. The default value is false.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool buildAppBundle { get; set; }
Remarks
This property is only applicable to builds for Google Play. 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.