简体   繁体   English

“未能登录”谷歌玩游戏服务

[英]“Failed to sign in” Google play game services

I've now spent over 8 continuous hours trying to figure out what is wrong and I still have'nt found a solution. 我现在已经花了8个多小时试图找出问题所在并且我还没有找到解决方案。 I added leaderboards and achievements to my libgdx android app, and published it in alpha. 我在我的libgdx android应用程序中添加了排行榜和成就,并以alpha格式发布。 For some reason, when I try to sign in in game, I get the following popup: "Failed to sign in.Please check your network connection and try again". 出于某种原因,当我尝试在游戏中登录时,我会收到以下弹出窗口:“登录失败。请检查您的网络连接并再试一次”。 My SHA1 key is correct(I checked credentials in the developer console) and so is my client ID. 我的SHA1密钥是正确的(我在开发人员控制台中检查了凭据),因此我的客户端ID也是如此。 I have no idea what is causing my problem. 我不知道是什么导致了我的问题。 When I check logcat, I see this: GameHelper: onAR: responseCode=SIGN_IN_FAILED, so giving up. 当我检查logcat时,我看到了这个:GameHelper:onAR:responseCode = SIGN_IN_FAILED,所以放弃了。

I also added myself as a tester. 我还把自己添加为测试员。

Does anyone know how to fix this?! 有谁知道如何解决这一问题?!

好吧我知道了,事实证明如果你的游戏已经发布到alpha版,你必须发布排行榜才能使用它们。(如果它们已经准备好进行测试你就不能使用它们)

Do you have multiple clients ID registered in your Google Play Developer Console with the same client ID? 您是否在Google Play开发者控制台中使用相同的客户端ID注册了多个客户ID? If this happens, you can rename them. 如果发生这种情况,您可以重命名它们。

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

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