準備好與玩家分享最新的遊戲變更後,就可以進行發布。發布遊戲變更後,您設定的 Play 遊戲服務就會向遊戲的使用者公開。這與發布遊戲 APK 不同,而且不會在 Play 商店中顯示任何遊戲相關資訊,而是表示所有擁有遊戲 APK 的使用者都能存取 Play 遊戲服務功能 (例如:登入),而不必個別新增為測試人員或取得測試群組的存取權。
在 Play 管理中心所做的 Play 遊戲服務變更,最多可能需要 2 小時才可供使用者使用。請確保您的 Play 遊戲服務遊戲專案至少在遊戲於 Play 商店上線的 2 個小時前發布,否則使用者可能無法使用 Play 遊戲服務功能 (包括登入)。發布 Play 遊戲服務遊戲專案可啟用遊戲的 Play 遊戲服務。但這並不會在 Play 商店開放提供或顯示您的遊戲。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# Test and publish your game\n\nTo ensure that Google Play Games Services are functioning correctly in your application, you\nshould test your Play Games Services before publishing your game changes on Google\nPlay.\n\nEnable accounts for testing\n---------------------------\n\nIf your game is in an unpublished state, you must allowlist the user accounts\nthat you want to grant access for testing. Otherwise, your testers will\nencounter OAuth and 404 errors when attempting to access the Play Games Services\nendpoints such as [sign-in](/games/pgs/signin).\n| **Warning:** Remember to add **yourself** as a tester, or the Play Games SDK won't work for your user account.\n\nThere are two ways to enable testers to use PGS APIs for your game:\n\n- At an individual level, by adding individual email addresses.\n- At a group level, by enabling Play Games Services for a Play Console release track.\n\nTo add individual testers to your game project:\n\n1. In the [Google Play Console](https://play.google.com/apps/publish/), select a game.\n2. Open the **Testers** tab for your game in the Google Play Console (**Grow \\\u003e\n Play Games Services \\\u003e Setup and\n management \\\u003e Testers**).\n3. Click the **Add testers** button.\n4. In the dialog that appears, enter the email addresses of the Google Accounts that you want to add as testers (separated with commas or one email address per line).\n5. Click **Add** to save the users as testers. The tester accounts you added should be able to access your Play Games Services within a couple of hours.\n\nTo give testing access to a group, enable a release track to access PGS:\n\nGoogle Play distributes pre-release versions of your app to\ncontrolled groups of trusted users with the release track features. See\n[Set up an open, closed, or internal test](https://support.google.com/googleplay/android-developer/answer/9845334)\nto learn more about testing with release tracks.\n\nYou can grant access to test your game to all users who have access to test APKs\non a given release track. This works the same as if you had added them to the\ntester list individually. To do this, follow these steps:\n\n1. In the [Google Play Console](https://play.google.com/apps/publish/), select a game.\n2. Open the **PGS Testers** section (**Grow \\\u003e Play Games Services \\\u003e\n Setup and management \\\u003e Testers** ) and select the **Release tracks** tab. On this page, you can also see the list of tracks that are already enabled for PGS testing.\n3. Click **Add tracks**.\n4. Select one or more tracks to enable for PGS testing.\n5. Click **Add Tracks**.\n\nThe selected release tracks now appears on the list of tracks enabled for\nPGS testing.\n| **Note:** This feature is only available if you have an Android app linked to your game in Google Play Console.\n\nPublish game changes\n--------------------\n\nOnce you are ready to share your latest game changes with players, it's time\nto publish them. Publishing your game changes makes the Play Games Services that\nyou have configured available to public users of your game. This is different\nfrom publishing your game APK and won't display any information about your\ngame on the Play Store. Instead, it means that all users with your game APK will\nbe able to access Play Games Services features, such as sign-in, without needing\nto be added individually as a tester or be given access to a release track.\n\nIt can take up to 2 hours for Play Games Services changes made in\nPlay Console to be ready for end users. Ensure that your\nPlay Games Services game project is published at least 2 hours before your game\ngoes live on the Play Store, or users may have trouble using Play Games Services\nfeatures (including sign-in). Publishing your Play Games Services game project\nenables Play Games Services for your game. However, it does not make your game\navailable or visible on the Play Store.\n\nTo publish your Play Games Services changes:\n\n1. In the [Google Play Console](https://play.google.com/apps/publish/), select a game.\n2. Open the **Publishing** section for your game in the Play Console (**Grow \\\u003e Play Games\n Services \\\u003e Setup and\n management \\\u003e Publishing**), then follow the instructions on that screen to publish your game.\n3. If there are missing or incorrectly configured items that are preventing you from publishing your game, the **Publishing** section will tell you what those items are so that you can fix them.\n\nThe data for listed testers for the game is not automatically deleted when you\npublish the game changes. To delete data for testers, use the\n[Play Games Services Management APIs](/games/pgs/management).\n| **Note:** If you are using leaderboards and achievements in your game, these game features may not be immediately reflected under your game's listing in the Google Play Store until your users start earning achievements and posting scores."]]