Google Play游戏登录失败。 (Google Play服务)

问题描述 投票:0回答:1

应用程序将加载到开发人员控制台中。该应用程序发布在内部测试中。带有测试人员的组已激活。设置已发布,服务已发布。

加载应用程序时,Game Maker Studio 2中的SHA1键被复制到控制台。

在检查授权的游戏中,播放器的名称显示在屏幕上(PlayerName = async_load [?“Name”];默认为“Anon”)。当您开始游戏时,会显示Google Play游戏初始屏幕。我选择了我的帐户。加载(旋转圆圈)。加载后,播放器的名称将更改为“未登录”。

我的日志文件:https://pastebin.com/c87680ua

摘自日志:

3221 8167 E SignInAuthenticator: **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
3221 8167 E SignInAuthenticator: **** This is usually caused by one of these reasons:
3221 8167 E SignInAuthenticator: **** (1) Your package name and certificate fingerprint do not match
3221 8167 E SignInAuthenticator: **** the client ID you registered in Developer Console.
3221 8167 E SignInAuthenticator: **** (2) Your App ID was incorrectly entered.
3221 8167 E SignInAuthenticator: **** (3) Your game settings have not been published and you are 
3221 8167 E SignInAuthenticator: **** trying to log in with an account that is not listed as
3221 8167 E SignInAuthenticator: **** a test account.
3221 8167 E SignInAuthenticator: ****
3221 8167 E SignInAuthenticator: **** To help you debug, here is the information about this app
3221 8167 E SignInAuthenticator: **** Package name : com.***.***
3221 8167 E SignInAuthenticator: **** Cert SHA1 fingerprint: 4F********D0
3221 8167 E SignInAuthenticator: **** App ID from manifest : 51*******38
3221 8167 E SignInAuthenticator: ****
3221 8167 E SignInAuthenticator: **** Check that the above information matches your setup in 
3221 8167 E SignInAuthenticator: **** Developer Console. Also, check that you're logging in with the
3221 8167 E SignInAuthenticator: **** right account (it should be listed in the Testers section if
3221 8167 E SignInAuthenticator: **** your project is not yet published).
3221 8167 E SignInAuthenticator: ****
3221 8167 E SignInAuthenticator: **** For more information, refer to the troubleshooting guide:

一开始以为问题是SHA1。后来放弃了这个想法。应用ID是正确的。

附:应用内购买功能正常运行

更新:

再次检查钥匙。替换(根据本指南 - http://forum.hellroom.ru/index.php?topic=25526.msg315187)。整体情况没有改变,但日志已经改变了!上述问题中给出的“错误”已经消失。真实地了解情况并没有变得容易。你能帮我吗?这是一个日志:https://pastebin.com/CX9xG9nW

我发现的唯一的事情:

02-13 19:36:45.722 13302 13302 I yoyo    : Login failed! Exception:  com.google.android.gms.common.api.ApiException: 8: 

登录时没有静默登录:https://pastebin.com/f81qFwKM

android google-play-services google-play-games
1个回答
0
投票

您的第一个日志提到配置错误。

APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES

如果您使用Google App Signing,则必须使用App Sign Certificato中的SHA1而不是上载证书。

Google sign in failed com.google.android.gms.common.api.ApiException: 10:

这篇文章可能对你有帮助

© www.soinside.com 2019 - 2024. All rights reserved.