The External Tools section for Android allows you to configure settings for Android development tools used to set up Unity projects on Android devices. The following table shows the JDK version that each Unity version supports: Unity version The following table shows the NDK version that each Unity version supports: Unity version Important: Unity versions 2020.3 LTS do not support Android SDK Build tools versions 31 and above. The following table shows the supported versions of Android SDK tools installed with each Unity version: Unity version This means you can use any recent version of the SDK as they all contain the build tools that Unity requires. Unity relies on tools that the Android SDK provides and different versions of the SDK usually have the same tools available. 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. This section contains information on which versions of each dependency each Unity version supports. This automation means that many common build errors are less likely to occur. Refer to the External tools for Android documentation to understand how to customize the installation of JDK, SDK, NDK, and Gradle An Android build system that automates several build processes.In Unity’s main menu, go to Edit > Preferences > External Tools > Android (macOS: Unity > Settings > External Tools > Android).For more information, refer to Supported dependency versions. Warning: Unity only officially supports versions of the OpenJDK, SDK, or NDK that it supplies through the Hub. Download the custom version of the dependency.To make Unity use a custom version of a dependency: For example, if you have multiple versions of Unity with the same dependencies and you don’t want to duplicate the installation of the SDK, NDK, and JDK, you can specify a shared location. However, there are situations where it’s useful to change the SDK, NDK, or JDK that Unity uses to build applications for Android. You should use the Unity Hub to install Android SDK & NDK tools and OpenJDK to ensure that you receive the correct versions and configurations. Unity installs Android SDK & NDK Tools and OpenJDK respectively in the SDK, NDK, and OpenJDK folders under //Editor/Data/PlaybackEngines/AndroidPlayer/. Unity Hub displaying the three dependency modules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |