简体   繁体   English

Google Play游戏未在Android中进行身份验证

[英]Google Play Games not authenticating in Android

In Debug mode, Google Play Games shows it's loading screen and I can even log in. However, afterwards I am receiving this error in a clean message box: 在调试模式下,Google Play游戏显示其正在加载屏幕,我什至可以登录。但是,此后,我在干净的消息框中收到此错误:

The application is incorrectly configured. Check that the package name and signing certificate match the client ID created in Developer Console. Also, if the application is not yet published, check that the account you are trying to sign in with is listed as a tester account. See logs for more information.

In Release mode, the game crashes and I am receiving this error in Android Studio: 在发布模式下,游戏崩溃,并且我在Android Studio中收到此错误:

Access Not Configured. The API (Google Play Game Services API) is not enabled for your project. Please use the Google Developers Console to update your configuration.

In Google Play Developer Console, all the marks are ticked. 在Google Play开发者控制台中,所有标记均已打勾。 I don't understand why it is not working. 我不明白为什么它不起作用。 Should I do something with the SHA key or client ID? 我应该使用SHA密钥或客户端ID做什么?

I did not publish my settings yet, but it says The Google Play game services settings are ready to test. 我尚未发布设置,但The Google Play game services settings are ready to test. I use my developer account as test account on the same device as I am testing on. 我将开发人员帐户作为测试帐户,与我在同一台设备上使用。

I was using the wrong SHA1 keys. 我使用了错误的SHA1键。 I had to create a new GPGS Game and perform step 3C on this page: https://developers.google.com/games/services/console/enabling 我必须创建一个新的GPGS游戏并在此页面上执行步骤3C: https : //developers.google.com/games/services/console/enabling

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM