

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 /Unity/Hub/Editor//Editor/Data/PlaybackEngines/AndroidPlayer/. Unity Hub displaying the three dependency modules.

By default, Unity uses OpenJDK.īefore you get started, check Unity’s Requirements and compatibility documentation for Android to make sure you’re aware of any limitations for developing a Unity application for Android.

To support Android, a Unity project requires the following dependencies: To create a Unity application for Android, you first need to set up your Unity project to support Android.
