Version: 2021.2
Debugging your application
iOS

Building your Chrome OS application

To build your application for Chrome OS, follow the instructions for Building Apps for Android.

Configuring Chrome OS Build Settings

In addition to the Android build instructions, you need to configure some Chrome OS Build Settings.

To configure Chrome OS Build Settings:

  1. Go to File > Build Settings. The Build Settings window opens.
  2. In the Platform section, select Android.
  3. Click Player Settings. The Project Settings window opens with the Player option selected.
  4. In the Settings for Android section, expand Other Settings.
  5. In the Target Architectures section, select x86 and x86–64 to support all Chrome OS devices, in addition to the ARM options.
Location of Target Architectures in Player Settings for Chrome OS
Location of Target Architectures in Player Settings for Chrome OS
  1. If you want to limit the devices that your Android application can run on, select one of the following options from the Target Devices setting:
    • Phones, Tablets, and TV Devices Only to limit your application to run on phones, tablets, and TV devices only.
    • Chrome OS Devices Only to limit your application to run on Chrome OS devices only and not all other Android devices.
Location of Target Devices in Player Settings for Chrome OS
Location of Target Devices in Player Settings for Chrome OS
  1. Click one of the following:

    • Build to create your build.

    • Build And Run to create your app and run your build on the platform you have selected.

      Note: To run a built APK on your Chrome OS device, you must connect with adb.

Debugging your application
iOS