Not Signed With the Upload Certificate Google Unity
This document covers how to use the Google Play Console to set upwardly Google Play games services for your Android game. The Google Play Console provides a centralized identify for you to manage game services and configure metadata for authorizing and authenticating your game.
To add your game to the Google Play Console, follow these general steps:
- Create a game project for your game and specify details such as the proper noun and clarification of the game.
- Create and link the necessary credentials to authorize and authenticate your game to Google Play Games Services.
These steps are covered in more item in the sections below.
Step 1. Sign in to the Google Play Console
To sign in, go the Google Play Console. If y'all oasis't registered for the Google Play Console before, you volition be prompted to practise then.
Stride 2. Add your game to the Google Play Console
To add together your game, follow these steps:
- Create a game in Play Panel if yous haven't already. See here for more details.
- Navigate to Abound > Play Games Services > Setup and management > Configuration.
-
Specify whether your game already uses Google APIs (such as Firebase). Choosing the correct option is very important.
- If this is a game you are creating from scratch, or you have never gear up Google APIs for it previously, choose No, my game doesn't use Google APIs. Enter your game's proper noun then click Create.
- If this is a game for which you take already prepare one or more than Google APIs, choose Yep, my game already uses Google APIs. Y'all volition see a listing of projects from the Google Cloud Console for which you are listed equally a developer. Select your project from the list and and so click Use.
- If you want to use an existing Play Games Services project, choose Utilise an existing Play Games Services project. You lot volition see a list of existing Play Games Services projects for your business relationship. Select the correct game project from the list and then click Use. This is not a typical choice, just you might do this if you are creating a new game in Play Console to change the package name, or if you have free and paid versions of your game with unlike packet names.
-
A Play Games Services game project is created, and a corresponding entry is created for yous in the Google Cloud Console.
-
In the Backdrop section, you tin select Edit Backdrop and add the description, category, and graphic assets for your game.
- Just the brandish name is required for testing. The other fields must be filled out before you can publish your game.
- The brandish name and description for your game should match what y'all have fix for your game'south Play Shop listing.
- For guidelines on creating the graphic assets, meet the Google Play for Developers guide and the Google Play Featured-Epitome Guidelines.
Pace three. Generate an OAuth 2.0 client ID
Your game must accept an OAuth 2.0 client ID in order to exist authenticated and authorized to call the Google Play games services. To set upwards a credential for Play Games Services, which is the association between a client ID and your game, use Google Cloud Platform to create the client ID. So, apply Google Play Console to add a credential, linking the client ID to your game.
For more detailed instructions, see the following steps:
a. Configure the OAuth consent screen
If you lot haven't nevertheless configured the OAuth consent screen, the Credentials section will display a message prompting you to configure.
Click Configure. This opens a dialog with further instructions and a deep link to the Google Cloud Platform.
If you have completed the setup of the OAuth consent screen, click Done. Google Play Console refreshes automatically, and if configuration was successful you will exist able to create a credential:
b. Create a credential
In club to qualify your game to communicate with Google Play games services, you lot must create a credential with an authorized OAuth2 customer ID.
In the Credentials section, click Add credential.
In the wizard, choose whether you want to create an Android credential (if your game APK will cosign the user and employ PGS APIs) or a game server credential (if your game server will use PGS APIs). Follow the instructions specific to your desired credential type.
Android
Set up credential details
Ensure that the name in the Name field matches the proper name of your game. Choose whether to enable Anti-Piracy.
Ready potency
Next, choose an OAuth customer ID to utilise for this game project. If yous already have OAuth2 customer IDs, you can choose ane. However, you volition usually create a new one. Click Create OAuth client. This opens a dialog with deep links and instructions for creating an OAuth Client ID in Google Cloud Platform.
- Select Android as the application type.
- Enter your game'south name in the Name field.
- Enter your Android application'due south package name in the Parcel name field.
-
Open a concluding and run the Keytool utility to get the SHA1 fingerprints of the release and debug certificates.
To go the release document fingerprint, run the following control:
keytool -list -keystore <path-to-production-keystore> -fiveTo get the debug certificate fingerprint, run the following command:
keytool -list -keystore <path-to-debug-keystore> -five -
The keytool utility prompts yous to enter a password for the keystore. The default password for the debug keystore is
android. The keytool then prints the fingerprint to the terminal. -
Paste the SHA1 fingerprint into the Signing certificate fingerprint (SHA1) field.
-
Click Create.
For more data nigh OAuth two.0 on Android, see Authenticating to OAuth2 Services.
Later you click Done in the dialog, the bachelor Client IDs will refresh. Choose the credential y'all created from the drop-down carte and so click Save Changes. This creates the credential equally a draft, enabling you to cosign to Play Games Services in your game.
You may desire to create two credentials: one with the release certificate fingerprint, and one with the debug certificate fingerprint. Make sure to use the same package name for both. This allows Google Play Games Services to recognize calls from your linked APKs that are signed with either certificate. For more than data about certificate signing for Android, see Sign your app.
Game server
Fix credential details
Ensure that the name in the Name field matches the name of your game.
Set authorization
Next, choose an OAuth client ID to employ for this game project. If you already have OAuth2 client IDs, y'all can choose i. However, y'all volition usually create a new one. Click Create OAuth client. This opens a dialog with deep links and instructions for creating an OAuth Client ID in Google Cloud Platform.
- Select Spider web application as the application blazon.
- Enter your game'due south name in the Proper name field.
- Click Create.
For more information almost OAuth ii.0 on Android, run into Authenticating to OAuth2 Services.
Subsequently you click Done in the dialog, the available Client IDs volition refresh. Choose the credential you lot created from the drop-down menu and and then click Save Changes. This creates the credential as a draft, enabling you to authenticate to Play Games Services from your game server. For more information well-nigh using Play Games Services with your game server, come across Enabling Server-Side Admission to Google Play Games Services.
Fugitive common setup problems
To avert mutual setup mistakes, brand sure to follow these recommendations when setting upward your game to use Google Play games services.
- 1. Set your game with the Google Play Panel
- If you lot created an Oauth 2.0 customer ID for your app in the Google Cloud Console, Google Play games services will not know about the association between the game'southward achievement and leaderboards and the client ID. To create this association, you must create a credential using the Oauth 2.0 customer ID as described in Create a credential.
- 2. Use the correct application ID in Android
- The application ID is a required string resource that you lot must reference in your Android manifest. The application ID string consists merely of the digits (typically 12 or more) at the outset of the client ID provided past the Google Play Panel. The application ID can exist establish at the top of the Configuration folio and is labeled every bit Projection ID below the name of your game.
- 3. Sign your APK with the correct document
- When linking your Android app to your game in the Google Play Console, y'all must use exactly the same parcel name and certificate fingerprint that you used to publish your app. If there is a mismatch, calls to Google Play games services will fail. Yous should create two client IDs, one with the release certificate fingerprint and some other with the debug certificate fingerprint, and utilise the aforementioned package proper noun for both. To larn more nearly how to specify the signing certificate in the Google Play Console, see Signing Your Applications.
- 4. When developing for Android, include the Play Games SDK equally a library projection, not as a standalone JAR
- Make sure that the Google Play services SDK is referenced every bit a library project in your Android project, otherwise this could lead to errors when your app is unable to notice Google Play services resource. To learn how to ready your Android project to utilize Google Play services, see Setting Up Google Play Services.
- five. Sign in with a tester account during development
- If y'all have non published your game setting changes in the Google Play Panel, you might encounter errors during testing if you are not signed in with a whitelisted tester account. You should ever enable your Google Play Console publisher account for testing. To acquire how to manage tester accounts, see Enabling accounts for testing.
- half-dozen. Publish the consent screen in Google Cloud Platform
- Before publishing the app in the Google Play Console, publish the consent screen in Google Cloud Platform. Without this step, the public audience won't be able to apply whatever of the Play Games Services features.
- 7. At release, publish the Play Games Services settings first before you publish your game
- Developers might accidentally publish their app without publishing the corresponding Google Play games services settings for their app. This might cause players who are signing in with non-tester accounts to meet errors since the app cannot reference the correct game settings. When releasing your game, call back to beginning publish your game settings past using the Publish Game option in the Google Play Panel. To learn how to publish your changes, see Publishing your game changes.
For additional tips, refer to:
- Android troubleshooting guide - Programmer documentation that describes how to troubleshoot bug while developing Android games.
Adjacent steps
Before proceeding further, you should add test accounts to your game as described in Enabling accounts for testing. Users with authorized examination accounts volition have access to your unpublished Play Games Services game project and can test that your configured Google Play games services are working correctly.
One time you take completed the initial setup tasks described above, you can proceed to configure features for your game, such as leaderboards and achievements. To learn more, meet Enable features.
shaffernothemould.blogspot.com
Source: https://developers.google.com/games/services/console/enabling
Post a Comment for "Not Signed With the Upload Certificate Google Unity"