

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 /Unity/Hub/Editor//Editor/Data/PlaybackEngines/AndroidPlayer/.

Unity Hub displaying the three dependency modules.

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.
