Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AndroidApiLevelAuto

Compile against the highest Android SDK platform installed on the machine.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
[NoAutoStaticsCleanup]public static readonly AndroidSdkVersionFull AndroidApiLevelAuto

Remarks

Assign this to PlayerSettings.Android.compileSdkVersion to resolve the compile SDK version automatically, independently of PlayerSettings.Android.targetSdkVersion. Setting PlayerSettings.Android.compileSdkVersion to null has the same effect.