Android 스튜디오에서 앱을 직접 실행하거나 adb install 명령어를 사용하여 ChromeOS 기기에 APK 파일을 배포할 수 있습니다. 게임에서 Android App Bundle을 사용하는 경우 bundletool install-apks를 사용하여 파일을 배포합니다.
adb install C:\yourpath\yourgame.apk
플랫폼 감지
기기 유형에 따라 게임플레이 기능을 전환해야 한다면 ChromeOS 기기를 감지하는 "org.chromium.arc" 시스템 기능을 확인합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Test your game on ChromeOS devices\n\nThis page describes how to run your game on a\n[ChromeOS device that supports Android](https://www.chromium.org/chromium-os/chrome-os-systems-supporting-android-apps/)\nfor testing purposes. You can use ChromeOS as an alternate testing plarform for\nGoogle Play Games on PC if you don't have access to the\n[developer emulator](/games/playgames/emulator).\n\nIf you have access to the\n[developer emulator](/games/playgames/emulator), we recommend you use it to\ntest your game because it is the closest environment to\nGoogle Play Games on PC.\n\nLoad and run your game\n----------------------\n\nYou can use [Android Debug Bridge (adb)](/studio/command-line/adb) to load\nAPK files to your ChromeOS devices. If you haven't already done so,\nwe recommend that you install one of the following\ntools, which include the latest version of adb:\n\n- [Android Studio](/studio)\n\n- [Android SDK Platform tools](/studio/releases/platform-tools#downloads)\n\nYou also need to [enable ADB connection on your ChromeOS devices](https://support.google.com/chromebook/answer/9770692?ref_topic=3415446).\n\nYou can run your app directly from Android Studio, or use the `adb install`\ncommand to deploy your APK file to ChromeOS devices. If your game uses an\nAndroid App Bundle, use [`bundletool install-apks`](/studio/command-line/bundletool#deploy_with_bundletool) to deploy the files. \n\n adb install C:\\yourpath\\yourgame.apk\n\nDetect the platform\n-------------------\n\nIf you need to toggle gameplay features based on device type, look for the\n`\"org.chromium.arc\"` system feature to detect ChromeOS devices: \n\n### Kotlin\n\n```kotlin\nvar isPC = packageManager.hasSystemFeature(\"org.chromium.arc\")\n \n```\n\n### Java\n\n```java\nPackageManager pm = getPackageManager();\nboolean isPC = pm.hasSystemFeature(\"org.chromium.arc\")\n \n```\n\n### C#\n\n```c#\nvar unityPlayerClass = new AndroidJavaClass(\"com.unity3d.player.UnityPlayer\");\nvar currentActivity = unityPlayerClass.GetStatic\u003cAndroidJavaObject\u003e(\"currentActivity\");\nvar packageManager = currentActivity.Call\u003cAndroidJavaObject\u003e(\"getPackageManager\");\nvar isPC = packageManager.Call\u003cbool\u003e(\"hasSystemFeature\", \"org.chromium.arc\");\n \n```"]]