此外,我们的团队也可以向您寄送租借的 Chromebook 设备,以便您在此过程中使用。如需了解如何接收测试设备,请通知您的 Google Play 联系人,他们后续会为您提供相关说明。
APK 和 app bundle 管理
Google Play 游戏电脑版允许您将 APK 或 app bundle 上传到 Google Play 管理中心,以便在 PC 上使用。强烈建议您使用与移动游戏相同的 APK,以降低因 PC 和 Chromebook 方面的更改而产生的额外维护费用和复杂性。本文档中所述的所有要求仅针对 PC 版游戏,因此我们建议您在对游戏做出任何新的更改时都使用这项附条件的检查。
一旦您开始面向 PC 开发应用,我们将提供一种方法来检测用户是否在使用 PC。最初面向 Chromebook 开发应用时,您可以使用以下代码进行检测:
此步骤假定您已经与您的 Google Play 联系人合作,为您的账号启用了“仅限 Google Play 游戏电脑版”外形规格,因为此功能仅供抢先体验。如果您没有看到“仅限 Google Play 游戏电脑版”外形规格,那么请确保先与您的联系人合作,在您的 Google Play 开发者账号中启用该功能。
当此项目处于发布前阶段时,设备规格将标记为“仅限 Google Play 游戏电脑版”。发布到仅限 Google Play 游戏电脑版
测试轨道,您首先需要按照以下步骤为应用添加外形规格
步骤。
成功将版本上传到 Play 多平台后
测试人员轨道分发,并选择加入“仅限 Google Play 游戏电脑版”分发计划,
通过电子邮件通知您的 Google Play 联系人您的 build 现已准备就绪
以供审核。您上传的 build 将与审核团队的成员共享,您的联系人后续会直接为您提供进一步的说明。
[[["易于理解","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"]],["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Publish and deploy\n\nThis guide should tell you everything you need to know about development for PC,\nincluding references to our ChromeOS developer documentation for areas in\ncommon, such as supporting keyboard and mouse input. While our [Android on\nChromeOS documentation](/chrome-os/intro) has lots of helpful information, note\nthat this guide should be treated as the source of truth for the requirements to\noptimize your game on PC.\n\nTesting\n-------\n\nDuring the first phase of development, you can test the changes you make to your\ngame on a physical Chromebook. [Any Chromebook that supports\nAndroid](https://www.chromium.org/chromium-os/chrome-os-systems-supporting-android-apps) will work.\n\nAlternatively, our team can ship you a loaner Chromebook device to use during\nthis process. For information on receiving a test device, notify your Google\nPlay point of contact, and they will follow up with instructions.\n\nAPK and app bundle management\n-----------------------------\n\nGoogle Play Games on PC will allow you to upload an APK or app bundle to the\nGoogle Play Console to be used on PC. We strongly recommend you use the same\nAPK as your mobile game to reduce additional maintenance cost and complexity. In\nchanges specific to PC and Chromebook. All requirements described in this\ndocument are only required for the PC version of your game, so we recommend\nusing this conditional check for any new changes you make to your game.\n\nOnce you begin developing for PC, we will provide a way to detect whether your\nuser is on a PC. While initially developing for a Chromebook, you can use the\nfollowing code for detection: \n\n fun isArc() : Boolean {\n return packageManager.hasSystemFeature(\"org.chromium.arc\")\n }\n\nAlternatively, you can [check for the presence of a physical\nkeyboard](/games/develop/all-screens#handle-interaction-models) as outlined in\nthe documentation.\n\nBuild submission process\n------------------------\n\nOnce your game has successfully met the requirements in the PC optimization\nchecklist and is ready for review, the next step is to submit the build through\na test track in the Google Play Console for review. The following are steps\nfor uploading your build to the console.\n\nIn order to complete a Google Play Games on PC release and view the *Google\nPlay Games on PC only* form factor, your Google Play point of contact must\nenable the feature on your Google Play Developer account. Contact them to enable\nthe feature if you haven't already done so.\n\n### Ensure your app meets the required size limits\n\nIn order to upload your game to the console and to eventually publish on the\nplatform, your game must be within the size limits allowed by Google Play\npolicy. Play policy sets the following size limits:\n\n- Legacy APK submissions:\n - [100 MB](https://support.google.com/googleplay/android-developer/answer/2481797) maximum APK size.\n - Up to 2 GB for assets for each [APK expansion file](/google/play/expansion-files) (OBB).\n- App Bundle submissions:\n - [200 MB](/guide/app-bundle#size_restrictions) maximum base module size.\n - Up to 1.5 GB for each asset pack through [Play Asset Delivery](/guide/app-bundle/asset-delivery). For games with a cumulative total larger than 4 GB, contact your Google Play point of contact for additional space.\n\nHere are a few things to double-check before proceeding with your console\nsubmission:\n\n1. It is recommended that you use App Bundles and Play Asset Delivery to publish your game. Note that in the second half of 2021, [OBBs will be\n deprecated](https://android-developers.googleblog.com/2020/08/recent-android-app-bundle-improvements.html) and new games will be required to switch over to Play Asset Delivery.\n2. If you are using OBBs to deliver assets, additional high resolution assets might cause the total size to exceed the OBB limit (2 GB main + 2 GB patch). In this case, it is recommended that you switch over to Play Asset Delivery.\n3. If you are submitting a debug build, ensure that the APK fits within the size constraints. If your APK exceeds the limit, you may instead need to share a non-development build.\n\n### Add the Google Play Games on PC only release type\n\nThis step assumes you have already worked with your Google Play point of contact\nto enable your account for the *Google Play Games on PC only* form factor, as\nthis feature is only available for early access. If you don't see the form\nfactor *Google Play Games on PC only*, then make sure you first work with your\npoint of contact to enable the feature in your Google Play Developer account.\n\nWhile this project is in its pre-launch phase, the form factor will be labeled\n*Google Play Games on PC only* . To release to the *Google Play Games on PC only*\ntest track, you first need to add the form factor for the app by following the\nsteps.\n\n1. Go to advanced distribution settings at **Release \\\u003e Advanced settings** ([direct\n link](https://play.google.com/console/u/0/developers/app/advanced-distribution))\n2. Go to the **Form factors** tab and add *Google Play Games on PC only* from the **+ Add form factor** drop-down.\n\nThis will also create the release tracks that you will use to roll out releases.\nThese are separate from the tracks you will use to release to phones and\ntablets.\n\n### Create and configure your Play multi platform users track\n\nTo distribute your PC-optimized build, create a users track:\n\n1. Go to the closed testing page at **Release \\\u003e Test \\\u003e Closed testing** ([direct\n link](https://play.google.com/console/u/0/developers/app/closed-testing))\n2. Select *Google Play Games on PC only* from the form factors selector in the top right corner.\n3. Create a new closed testing track:\n 1. Click **Create track** in the top right corner.\n 2. Name the track *Play multi platform users*. On successful creation, the site directs you to the track page for your new track. This is also located on the closed testing page for the release type.\n4. Click the **Manage track** button for the track.\n5. On the **Countries / regions** tab select the countries which should be\n targeted by the track. These are the countries and regions where releases on\n this track will be available. We recommend you select all available countries\n unless you have specific requirements otherwise.\n\n | **Note:** You must add \"United States\" and \"United Kingdom\" for testing purposes if you opt to only allow certain regions.\n6. On the **Testers** tab:\n\n 1. Select **Google Groups**.\n 2. In the **Email addresses** field, add the email `play-multiplatform-test-track@googlegroups.com`. Note: Make a note of the opt-in URL provided for the test track. You'll need to provide this URL to your Google Play point of contact to make sure your build is properly reviewed.\n\n### Roll out a release\n\nCreate your new Google Play Games on PC release on the closed\n*Play multi platform users* track. You can upload either your existing APKs and\napp bundles or a Google Play Games on PC-optimized version of the same.\n\n1. Go back to the track page for your new track. See steps 1, 2, and 4 from [Create and configure your Play multi platform users track](#users-tracks) to manage the track.\n2. Click **Create release** in the top right corner. You will be navigated to the **Prepare release** page for the new release.\n3. Follow the on-screen instructions to prepare your release:\n - Add your app bundles or APKs.\n - Name your release.\n - Enter release notes for the version of your release.\n4. Click **Save** at the bottom of the screen to save any changes that you made to your release.\n5. When you've finished preparing your release, click **Review release** to proceed to the review page.\n6. On the review page, ensure that all the information you have entered is correct.\n - Validation errors and warnings will appear at the top of the screen. Errors need to be resolved before you can proceed.\n - Review the information on the page to ensure that you have uploaded correct artifacts and entered your release details.\n7. Click **Start roll-out** at the bottom of the page to complete rolling out your release.\n\nFor more information on the **Prepare and review** release flow you can refer to\nthis [help center article](https://support.google.com/googleplay/android-developer/answer/9859348).\n\n### Opt in to Google Play Games on PC only distribution\n\nAt this point you should be ready to distribute your new\nGoogle Play Games on PC releases. You need to go back to the form factor\nsettings and opt in to distribution.\n\n1. Go to advanced distribution settings at **Release \\\u003e Advanced settings** ([direct\n link](https://play.google.com/console/u/0/developers/app/advanced-distribution))\n2. Go to the **Form factors** tab and open the settings for Google Play Games on PC using the **Manage** button.\n3. Select *Opt-in to Google Play Games on PC only* and save the settings.\n\nOnce you are opted in and all of your recent changes are reviewed and approved,\nyour app will be successfully available for review by our team.\n\n### Notify your Google Play POC that a new release is available\n\nOnce you've successfully uploaded a release to your *Play multi platform\ntesters* track, and opted in to Google Play Games on PC only distribution,\nnotify your Google Play point of contact over email that your build is now ready\nfor review. Your uploaded build will be shared with members of the review teams,\nand your point of contact will follow up directly with further instructions."]]