Version: 2022.3
LanguageEnglish
  • C#

AndroidSdkVersions

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

API levels that can be specified in scripts. Note that the lowest API level here strictly corresponds to the lowest supported API level, however these values should not be used to determine the highest supported API level.

Properties

AndroidApiLevelAutoSets the target API level automatically, according to the latest installed SDK on your computer.
AndroidApiLevel22Android 5.1, "Lollipop", API level 22.
AndroidApiLevel23Android 6.0, "Marshmallow", API level 23.
AndroidApiLevel24Android 7.0, "Nougat", API level 24.
AndroidApiLevel25Android 7.1, "Nougat", API level 25.
AndroidApiLevel26Android 8.0, "Oreo", API level 26.
AndroidApiLevel27Android 8.1, "Oreo", API level 27.
AndroidApiLevel28Android 9.0, "Pie", API level 28.
AndroidApiLevel29Android 10.0, API level 29.
AndroidApiLevel30Android 11.0, API level 30.
AndroidApiLevel31Android 12, API level 31.
AndroidApiLevel32Android 12L, API level 32.
AndroidApiLevel33Android 13, API level 33.