Quickstart for Android

Get started with targeting your ARCore Unity apps to Android.

This guide shows you how to set up your development environment and try out an ARCore sample app.



  • An ARCore supported device

  • A USB cable to connect your device to your development machine


Get the ARCore SDK for Unity

  1. Download ARCore SDK for Unity 1.17.0 or later.
    The SDK is downloaded as arcore-unity-sdk-1.17.0.unitypackage.

Create a new project and import the SDK

  1. Open Unity and create a new 3D project.

  2. Unity 2019 only: Select Window > Package Manager and install the following packages:

    • Multiplayer HLAPI (required by the CloudAnchors sample)
    • XR Legacy Input Helpers (required by Instant Preview, which uses the TrackedPoseDriver)
  3. Import the ARCore SDK for Unity:

    1. Select Assets > Import Package > Custom Package.

    2. Select the arcore-unity-sdk-1.17.0.unitypackage that you downloaded.

    3. In the Importing Package dialog, make sure that all package options are selected and click Import.

Open the sample scene

  1. In the Unity Project window, you can find the HelloAR sample in:

Configure project settings

  1. Go to File > Build Settings to open the Build Settings window.
  2. Select Android and click Switch Platform.
  3. In the Build Settings window, click Player Settings.
  4. In the Settings window, configure the following:
    Setting Value
    Player Settings > Other Settings > Rendering Uncheck Auto Graphics API
    If Vulkan is listed under Graphics APIs, remove it.
    Player Settings > Other Settings > Package Name Create a unique app ID using a Java package name format.
    For example, use com.example.helloAR
    Player Settings > Other Settings > Minimum API Level Android 7.0 'Nougat' (API Level 24) or higher
    (For AR Optional apps, the Minimum API level is 14.)
    Player Settings > XR Settings > ARCore Supported Enable

Build and run the sample app

  1. Enable developer options and USB debugging on your device.

  2. Connect your device to your development machine.

  3. In the Unity Build Settings window, click Build and Run.
    Unity builds your project into an Android APK, installs it on your device, and launches it.

  4. Move your device around until ARCore starts detecting and visualizing planes.

  5. Tap a plane to put an Andy Android object on it.

  6. (Optional) Use Android logcat to view log messages or Android Device Monitor to analyze the device more comprehensively.

Next Steps