Kiểm thử trò chơi trong Google Play Games trên máy tính
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Hướng dẫn này mô tả cách kiểm thử trò chơi để phân phối trên Google Play Games trên máy tính. Điều này cho phép bạn kiểm thử trò chơi trước khi người dùng có thể chơi trên máy tính.
Thêm hệ số hình dạng dành cho Google Play Games trên máy tính
Bạn phải bật kiểu dáng nếu kiểu dáng đó chưa được kích hoạt cho trò chơi của bạn.
Cách bật hệ số hình dạng:
Trong Google Play Console, hãy chuyển đến phần Bản phát hành > Cài đặt nâng cao.
Trong thẻ Hệ số hình dạng, hãy thêm Google Play Games trên máy tính trong danh sách + Thêm hệ số hình dạng.
Trên trang Google Play Games trên máy tính, đối với Bản phát hành, hãy chọn một trong các tuỳ chọn sau:
Sử dụng cùng kênh phát hành và cấu phần phần mềm giống ứng dụng di động. Cho biết rằng tất cả người dùng máy tính (bao gồm cả người kiểm thử và người dùng cuối) đều tải xuống cùng một tệp nhị phân mà người dùng thiết bị di động nhận được.
Sử dụng kênh chuyên dụng cho Google Play Games trên máy tính. Cho biết rằng bạn chỉ có thể phân phối một tệp nhị phân riêng biệt cho người dùng máy tính.
Nhấp vào Lưu.
Ví dụ: giả sử bạn có một trò chơi đã ra mắt trên thiết bị di động và bạn muốn hạn chế người dùng máy tính tải trò chơi xuống (từ kênh phát hành tiêu chuẩn dành cho thiết bị di động) cho đến khi bạn có cơ hội kiểm thử trò chơi. Tạo một kênh kiểm thử chuyên dụng. Thao tác này cho phép bạn chỉ định những người kiểm thử sẽ có quyền truy cập vào trò chơi của bạn trên máy tính. Sau đó, bạn có thể phát hành trò chơi công khai sau khi hoàn tất quá trình kiểm thử.
Trong quá trình kiểm thử, hãy sử dụng kênh phát hành chuyên dụng cho Google Play Games trên máy tính; kênh này chỉ cho phép người kiểm thử tải trò chơi xuống máy tính trong quá trình kiểm thử. Tải cùng một bản dựng lên kênh kiểm thử khép kín.
Chọn phân phối trên Google Play Games trên máy tính
Trong Google Play Console, hãy chuyển đến phần Bản phát hành > Cài đặt nâng cao.
Trong thẻ Hệ số hình dạng, hãy nhấp vào Quản lý để mở phần cài đặt cho Google Play Games trên máy tính.
Chọn Chọn phân phối trên Google Play Games trên máy tính rồi lưu chế độ cài đặt đó.
Tạo và định cấu hình kênh thử nghiệm khép kín
Để phân phối bản dựng cho người kiểm thử, hãy tạo một kênh:
Trong Google Play Console, hãy chuyển đến phần Bản phát hành > Thử nghiệm > Thử nghiệm khép kín.
Chọn Chỉ dành cho Google Play Games trên máy tính trong danh sách hệ số hình dạng.
Tạo kênh kiểm thử khép kín mới:
Nhấp vào Tạo kênh phát hành ở góc trên cùng bên phải.
Khi tạo thành công, trang web sẽ chuyển bạn đến trang kênh phát hành dành cho kênh mới của bạn. Trang này cũng được đặt trên trang kiểm thử khép kín cho loại bản phát hành.
Nhấp vào Quản lý kênh cho kênh đó.
Trên thẻ Nhân viên kiểm thử:
Tạo và định cấu hình các nhóm mà bạn muốn kiểm thử.
Ghi lại URL chọn tham gia được cấp cho kênh kiểm thử. Người kiểm thử cần chọn tham gia bằng cách sử dụng đường liên kết này.
Phát hành trên kênh chuyên dụng
Tạo bản phát hành mới cho Google Play Games trên máy tính trong kênh khép kín và tải trò chơi của bạn lên.
Đăng nhập bằng một trong các tài khoản thử nghiệm có trong kênh kiểm thử khép kín của bạn.
Nhấp vào biểu tượng tìm kiếm rồi tìm trò chơi của bạn theo tên gói.
Cài đặt và kiểm thử trò chơi.
Phát hành trò chơi trên Google Play Games trên máy tính
Sau khi kiểm thử trò chơi một cách thoả đáng, bạn có thể phát hành trò chơi cho công chúng. Bạn có thể thực hiện việc này bằng một trong hai cách:
Bạn có thể phát hành phiên bản trò chơi dành cho thiết bị di động cho tất cả người dùng máy tính.
Trong Google Play Console, hãy chuyển đến phần Bản phát hành > Cài đặt nâng cao.
Chuyển từ Sử dụng kênh phát hành chuyên dụng cho Google Play Games trên máy tính sang Sử dụng cùng kênh phát hành và cấu phần phần mềm với ứng dụng di động.
Gửi nội dung thay đổi để được xem xét.
Sau khi được phê duyệt, người dùng có thể cài đặt cùng một phiên bản trò chơi trên máy tính.
Để tạo một bản dựng riêng cho người dùng Google Play Games trên máy tính, hãy giữ kênh phát hành chuyên dụng. Tải tệp nhị phân lên kênh phát hành công khai chuyên biệt.
Sử dụng Vitals với Google Play Games trên máy tính
Bạn có thể dùng Android vitals để giám sát tỷ lệ sự cố và tỷ lệ lỗi ANR cho trò chơi sau khi triển khai bản phát hành chính thức trên Google Play Games trên máy tính, giống như cách bạn thực hiện với phiên bản di động.
Lọc theo Hệ số hình dạng rồi chọn Google Play Games on PC để xem tỷ lệ sự cố và tỷ lệ lỗi ANR trên Google Play Games trên máy tính.
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# Test your Google Play Games on PC game\n\nThis guide describes how to test your game for distribution on\nGoogle Play Games on PC. This lets you to test your games before users\nare able to play on desktop.\n\nAdd the Google Play Games on PC form factor\n-------------------------------------------\n\nEnabling the form factor is required if it is not activated for your game.\nTo enable the form factor:\n\n1. In the [Google Play Console](https://play.google.com/console/u/0/developers/app/advanced-distribution), go to **Release \\\u003e Advanced settings**.\n2. In the **Form factors** tab, add *Google Play Games on PC* from the **+ Add form factor** list.\n3. In the **Google Play Games on PC** page, for **Releases** select one of the following options:\n - **Use the same release track and artifacts as your mobile app**. Indicates that all PC users (including testers and end users) download the same binary that mobile users receive.\n - **Use a dedicated track for Google Play Games on PC**. Indicates that you can distribute a separate binary to only PC users.\n4. Click **Save**.\n\nFor example, say you have a game that is already launched on mobile, and you\nwant to restrict PC users from being able to download the game (from the\nstandard mobile track) until you have had a chance to test the game. Create a\ndedicated testing track. This lets you designate testers who will have\naccess to your game on PC. You can then release the game to the public after\ntesting is complete.\n\nDuring testing, use the dedicated release track for Google Play Games on PC;\nthis lets only your testers download the game on desktop during testing. Upload\nthe same build to the closed test track.\n\n### Opt in to Google Play Games on PC distribution\n\n1. In the [Google Play Console](https://play.google.com/console/u/0/developers/app/advanced-distribution), go to **Release \\\u003e Advanced settings**.\n2. In the **Form factors** tab, click **Manage** to open the settings for **Google Play Games on PC**.\n3. Select **Opt-in to Google Play Games on PC** and save the settings.\n\n| **Note:** To finish activating the PC form factor [publish your changes](https://support.google.com/googleplay/android-developer/answer/9859654).\n\nCreate and configure your closed test track\n-------------------------------------------\n\nTo distribute a build to your testers, create a track:\n\n1. In the [Google Play Console](https://play.google.com/console/u/0/developers/app/closed-testing), go to **Release \\\u003e Test \\\u003e Closed testing**.\n2. Select **Google Play Games on PC only** from the **form factors** list.\n3. Create a new closed testing track:\n 1. Click **Create track** in the top right corner.\n 2. 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 **Manage track** for the track.\n5. On the **Testers** tab:\n 1. Create and configure the groups you want to test.\n 2. Make a note of the opt-in URL provided for the test track. Your testers need to opt in using this link.\n\n### Release on the dedicated track\n\nCreate a new Google Play Games on PC release on the closed track and upload\nyour game.\n\n1. Go back to the track page for your new track. See [Create and configure your Play multiplatform users track](/games/playgames/development-submit#users-tracks) to manage the track.\n2. Click **Create release** , which opens 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**.\n5. Click **Review release**.\n6. On the **Review** page, ensure that all the information you have entered is correct.\n - Validation errors and warnings 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, see [Prepare and roll out a release](https://support.google.com/googleplay/android-developer/answer/9859348).\n\n### Test your game\n\nOnce the published changes are live, your testers should be able to test your\ngame.\n\n1. Download and install [Google Play Games for PC](https://play.google.com/googleplaygames) (Using the developer emulator is not required).\n2. Sign in using one of the test accounts listed on your closed test track.\n3. Click the search icon, and search for your game by package name.\n4. Install and test the game.\n\n### Release your game to Google Play Games on PC\n\nOnce your game has been satisfactorily tested, you can release your game to the\npublic. This can be done in one of two ways:\n\n- You can release your mobile version of the game to all desktop users.\n\n 1. In the [Google Play Console](https://play.google.com/console/u/0/developers/app/advanced-distribution), go to **Release \\\u003e Advanced settings**.\n 2. Switch from **Use dedicated release track for Google Play Games on PC** to **Use the same release track and artifacts as your mobile app**.\n 3. Submit changes for review.\n 4. After approval, users can install the same game version on their PCs.\n- To create a separate build for Google Play Games on PC users, keep the\n dedicated release track. Upload a binary to its dedicated production track.\n\n| **Note:** Ensure that the dedicated track is kept up to date with the mobile track to ensure that updates are delivered to Google Play Games on PC users.\n\nUse Vitals with Google Play Games on PC\n---------------------------------------\n\nYou can use [Android vitals](/topic/performance/vitals) to monitor the crash and\nANR rates for your game after you have rolled it out to production on\nGoogle Play Games on PC, just as you would with the mobile version.\nFilter with the **Form factor** and select `Google Play Games on PC` to see the\ncrash and ANR rates on Google Play Games on PC."]]