
In the exported project, root/unityLibrary/adle folderĬontains instructions on how to build Unity as a Library. It depends on the unityLibrary project and outputs either an. In the exported project, root/launcher/adle folderĬontains instructions on how to build the Android application (bundling, signing, APK splitting). In the exported project, root/adle folderĬontains configuration that is shared between all other templates/Gradle projects (repositories and the dependency on the Android Gradle plug-in). Gradle projects can include, and depend on other Gradle projects.Ī Gradle template consists of the following files: File Each Gradle template represents a singleGradle project. Gradle templates describe and configure how to build your Android app with Gradle. You can replace it with your own application.īuild settings for Android adle templates This is a simple Android application module that launches Unity.


aab) in Unity, or export a Gradle project from Unity, and then build it with an external tool such as Android Studio. You can either build the output package (.apk. Unity uses Gradle for all Android builds.

In Unity, Gradle reduces the method reference count in DEX (Dalvik Executable format) files, which means you are less likely to come across DEX limit problems. Gradle is an Android build system that automates a number of build processes and prevents many common build errors.
