Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Gradle for Android

Introduces the Gradle build system, its version compatibility with Unity, and the structure of a Gradle project.
Read time 1 minuteLast updated 12 days ago

Gradle is a build system that automates build processes and prevents many common build errors. Unity uses Gradle for all Android builds. You can either build the output package .apk or .aab file in Unity or export a Gradle project from Unity and build it with an external tool such as Android Studio.

Topic

Description

Unity and Gradle version compatibilityCheck the compatibility between Gradle version and Unity version.
Gradle project filesLearn about the Gradle project files that exist for Unity projects and their purpose.
Gradle project structureLearn about the Gradle project modules when you export your Unity project as a Gradle project.
Unity specific properties in gradle.properties fileCheck the properties in
gradle.properties
file that are specific to Unity's build process.
Troubleshooting Gradle build issues for AndroidSolve common Gradle build issues when developing Android applications using Unity.

Additional resources