Skip to main content

Building for Android

Enable ARCore Plugin

Enable ARCore plug-in provider by selecting Edit > Project Settings from the topbar menu, and navigate to XR Plug-in Management.

Setup Android Player Settings

Open Android player settings from selecting Edit > Project Settings from the topbar menu, navigate to Player from the Project Settings sidebar and select the Android tab.

  • Uncheck Auto Graphics API and remove Vulkan from the Graphics APIs list.

    remove-vulkan

  • Uncheck Multithreaded Rendering.

    disable-multithreaded-rendering

  • Set Minimum API Level to Android 7.0 'Nougat' (Api Level 24).

    minimum-api-level-24

  • Set Scripting Backend to IL2CPP.

  • Enable ARM64 in the Target Architectures to meet Google Play 64-bit requirement. Leave ARMv7 enabled to support 32-bit devices.

    minimum-api-level-24

Android OS Specifics

Depending on the OS version of your target Android device and which Unity version you are using to build the application, there might be some additional steps that you will need to follow. Generally speaking, the latest version of LTS 2020.3 requires the least setup to build for the newer versions of Android OS, which is why we recommend using that version. Please refer to these links to learn more about it:

  1. Build for Android 11 with Unity

  2. Build for Android 12 with Unity

Once you have followed all the steps listed above, your project should be ready to build your application for Android devices. You can follow the standard Android build process for Unity, and run it on your device.