
Enable Build App Bundle (Google Play). From the list of platforms in the Platform pane, select Android. To make Unity build the Android application as an AAB: Unity can build Android applications in the following publishing formats:īy default, Unity builds Android applications in the APK publishing format. Build Settings: Configure build system settings. More info See in Glossary: Configure runtime and build settings for the application. Player Settings Settings that let you set various player-specific options for the final game built by Unity. There are two sets of settings that configure a Unity build: Configure the buildīefore you create a build, configure your project’s settings so that Unity builds the application with the runtime settings and build system properties you want. For more information, refer to Application patching. If you want to build your application for debugging purposes, application patching can help you reduce the time it takes to build your application. For more information, refer to Optimize distribution size. Unity includes multiple methods that you can use to optimize the install size. Some digital distribution services have a limit on the initial install size of your application. If you are targeting a specific digital distribution service with your build, refer to the documentation for that Digital distribution service first to check if the requirements differ. For example, Google Play requires your application to be an Android App Bundle (AAB) and not an APK. Some digital distribution services that host Android applications have particular requirements that can change the build process. For more information, see Exporting an Android project. This is useful if you want more control over the build pipeline, want to see or modify the Android App Manifest that Unity generates for your application, or integrate Unity-powered features into another Android application. Instead of building your application, you can also export the Unity project as a Gradle project and import that into Android Studio.
For information on the build process for Android and the tools Unity uses, refer to How Unity builds Android applications.
This page contains instructions on how to build your Unity application for Android and considerations to be aware of when you do.