Google Play游戏服务 - 无法登录游戏中心

 夕阳红梅乎 发布于 2023-02-12 14:59

到目前为止我做的事情:

    在Dev Console(游戏服务)中添加并链接了我的应用程序

    将App_id包含到我的app/manifest中

    将BaseGameActivity和GameHelper添加到我的项目中(来自GitHub)

    将google-play-services库添加到我的项目中

    扩展BaseGameActivity

日志中的ee是什么:

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.

    我从控制台拿了App_id,它是100%正确的.

    我正在尝试使用测试帐户登录

    SHA1和包名称100%正确.

我怎样才能确定问题出在哪里?

ps我在控制台中看到客户端ID,如下所示:165***6-***.apps.googleusercontent.com

我应该用吗?

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有