Learn which versions of the Android SDK, NDK, and JDK each version of Unity supports.
Refer to the following tables to understand the Android dependency versions supported by Unity. Each version of Unity requires a specific version of the Android NDK and Android JDK, but there are no exact version requirements for the Android SDK.
Unity relies on tools that the Android SDK provides and different versions of the SDK usually have the same tools available. This means you can use any recent version of the SDK as they all contain the build tools that Unity requires.
The following table shows the supported versions of Android SDK tools installed with each Unity version:
Unity version | SDK tools version | SDK Build tools version | SDK Command-line tools version | SDK Platform tools version |
---|---|---|---|---|
2022.3 LTS | N/A | 34.0.0 | 6 | 32.0.0 |
2021.3 LTS | N/A | 34.0.0 | 6 | 32.0.0 |
2020.3 LTS | 26.1.1 | 30.0.2 | 2 | 28.0.1 |
Important: Unity version 2020.3 doesn’t support Android SDK Build tools versions 31 and later.
The following table shows the NDK version that each Unity version supports:
Unity version | NDK version |
---|---|
2022.3 LTS | r23b (23.1.7779620) |
2021.3 LTS | r21d (21.3.6528147) |
2020.3 LTS | r19 (19.0.5232133) |
The following table shows the JDK version that each Unity version supports:
Unity version | JDK version |
---|---|
2022.3 LTS | 11 (OpenJDK version 11) |
2021.3 LTS | 11 (OpenJDK version 11) |
2020.3 LTS | 8 (OpenJDK version 1.8) |