Version: 2022.2
Debugging on a Chrome OS device
Dedicated Server

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 make your application support all Chrome OS devices:

  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, enable both the ARMv7 and ARM64 properties as well the x86 and x86–64 properties.
    Location of Target Architectures in Player Settings for Chrome OS
  6. 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
  7. 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 on a Chrome OS device
Dedicated Server