Version: 2021.3
Language : English
Debugging on a Chrome OS device
Dedicated Server

Build for Chrome OS

This page contains instructions on how to build your Unity application for Chrome OS. Chrome OS supports the Google Play Store and Android applications which means, to build an application for Chrome OS, Unity actually builds an Android application.

Configure your project to build for Chrome OS

To configure your application to support Chrome OS devices:

  1. Select File > Build Settings.
  2. From the list of platforms in the Platform pane, select Android.
    Note: If Android is greyed out, set up your project for Chrome OS development.
  3. Click Player SettingsSettings that let you set various player-specific options for the final game built by Unity. More info
    See in Glossary
    . This opens the Project SettingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your project behave. More info
    See in Glossary
    window in the Player tab.
  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.
  6. By default, your application can run on Chrome OS devices and Android devices such as phones, tablets, and TVs. If you want to limit the devices that your application can run on, use the Target Devices setting. Phones, Tablets, and TV Devices Only limits your application to run on phones, tablets, and TV devices only. Chrome OS Devices Only limits your application to run on Chrome OS devices only and not all other Android devices.

Build the application

After you configure your project to build for Chrome OS, you can start the build process. The build process for Chrome OS is the same as the one for Android. The only difference is if you want to use the Build and Run option to immediately run the build on a Chrome OS device. On Chrome OS, you must use Android Debug Bridge to connect to the target device. For information on how to do this, refer to Android Debug Bridge for Chrome OS devices. To build your application for Chrome OS, follow the instructions for Building Apps for Android.

Debugging on a Chrome OS device
Dedicated Server
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961