谷歌Play游戏服务 - 无法登录到游戏中心 [英] Google Play Game Services - unable to sign in to Game Center

查看:1858
本文介绍了谷歌Play游戏服务 - 无法登录到游戏中心的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

事情我已经迄今所做的:


  1. 补充,并在开发控制台链接我的应用程序(游戏服务)


  2. 包括APP_ID到我的应用程序/清单


  3. 添加BaseGameActivity和GameHelper到我的项目(​​从GitHub)


  4. 添加了谷歌播放服务库,我的项目


  5. 扩展BaseGameActivity


什么是日志EE:

  GameHelper:**** APP未正确配置为使用Google Play游戏服务
 GameHelper:****这通常是由以下原因之一:
 GameHelper:****(1)您的包名称和证书指纹不匹配
 GameHelper:****你在开发者控制台中注册的客户端ID。
 GameHelper:****(2)错误地输入你的App ID。
 GameHelper:****(3)您的游戏设置尚未公布,你是
 GameHelper:****试图与未列为帐号登录
 GameHelper:****测试帐户。


  1. 我把APP_ID从控制台,它是100%正确的。

  2. 我试图与测试帐户登录

  3. SHA1和软件包名称100%正确。

我如何检查问题出在哪里?

P.S。我看到控制台客户端ID,看起来像:
165 * ** 6 - 的*** apps.googleusercontent.com

我应该使用它?


解决方案

控制台你应该在不同的客户端ID添加不同的SHA1。

起初,我加了调试,并在一个客户端ID发布SHA1s - 不工作。创造了两个不同的客户端ID - 现在的工作

Things I've done so far:

  1. added and linked my app in the Dev Console (game services)

  2. included the App_id into my app/manifest

  3. added BaseGameActivity and GameHelper to my project (from GitHub)

  4. added the google-play-services library to my project

  5. extended BaseGameActivity

What is ee in log:

GameHelper: **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
 GameHelper: **** This is usually caused by one of these reasons:
 GameHelper: **** (1) Your package name and certificate fingerprint do not match
 GameHelper: ****     the client ID you registered in Developer Console.
 GameHelper: **** (2) Your App ID was incorrectly entered.
 GameHelper: **** (3) Your game settings have not been published and you are 
 GameHelper: ****     trying to log in with an account that is not listed as
 GameHelper: ****     a test account.

  1. I took App_id from console, it's 100% correct.
  2. I'm trying to log in with an test account
  3. SHA1 and package name 100% correct.

How can i check where is the problem?

p.s. i see Client ID in console, looking like: 165***6-***.apps.googleusercontent.com

Should i use it?

解决方案

In console you should add different SHA1 in different Client ID.

Initially, I added debug and release SHA1s in one Client ID - not working. Created two different Client ID - now work.

这篇关于谷歌Play游戏服务 - 无法登录到游戏中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆