Available Android SDK versions
Build automation will use the configured target SDK version for a project. However, due to the Editor option that allows the use of the highest available Android SDK version, it is necessary to explicitly select the maximum SDK version that will be available during a build. Configuring the maximum available Android SDK version is required to successfully build for Android.
Each SDK includes all previous SDK versions going back to SDK 22. For example, if you are using Unity 6000.0.1f1 and need to use Android SDK 32 because you are building for Oculus (which requires SDK 32), you should configure your Unity project to target SDK 32 but select either SDK 34 or 35 when configuring your build automation target.
The following table shows the Android SDK versions available for each Unity version.
Unity Version | NDK | SDK 30 | SDK 31 | SDK 32 | SDK 33 | SDK 34 | SDK 35 |
---|---|---|---|---|---|---|---|
2019 - 2020 | r19 | ✓ | ✓ | ✓ | ✓ | ✓ | |
2021 - 2021.3.40 | r21d | ✓ | ✓ | ✓ | ✓ | ✓ | |
2021.3.41 - 2021.3 | r21d | ✓ | ✓ | ||||
2022 - 2022.1 | r21d | ✓ | ✓ | ✓ | ✓ | ✓ | |
2022.2 - 2022.3.43 | r23b | ✓ | ✓ | ✓ | |||
2022.3.44 - 2022.3 | r23b | ✓ | ✓ | ✓ | |||
6000.0 - 6000.0.37 | r23b | ✓ | ✓ | ||||
>= 6000.0.38 | r27c | ✓ | ✓ |
Note: Availability does not guarantee compatibility.