Unity 游戏未正确配置为使用 google play 游戏服务
Posted
技术标签:
【中文标题】Unity 游戏未正确配置为使用 google play 游戏服务【英文标题】:Unity Game not correctly configured to use google play game services 【发布时间】:2020-11-26 10:30:24 【问题描述】:我无法在我的 Unity 构建中连接到 Google Play 服务。我想测试我的应用构建并应用所有可能的解决方案。
我在调试我的应用程序时遇到了这个问题。
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** APP NOT CORRECTLY CONFIGURED TO USE GOOGLE PLAY GAME SERVICES
03-19 14:22:36.126: W/GameHelper(15312): **** This is usually caused by one of these reasons:
03-19 14:22:36.126: W/GameHelper(15312): **** (1) Your package name and certificate fingerprint do not match
03-19 14:22:36.126: W/GameHelper(15312): **** the client ID you registered in Developer Console.
03-19 14:22:36.126: W/GameHelper(15312): **** (2) Your App ID was incorrectly entered.
03-19 14:22:36.126: W/GameHelper(15312): **** (3) Your game settings have not been published and you are
03-19 14:22:36.126: W/GameHelper(15312): **** trying to log in with an account that is not listed as
03-19 14:22:36.126: W/GameHelper(15312): **** a test account.
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** To help you debug, here is the information about this app
03-19 14:22:36.126: W/GameHelper(15312): **** Package name : *****
03-19 14:22:36.126: W/GameHelper(15312): **** Cert SHA1 fingerprint: *****
03-19 14:22:36.126: W/GameHelper(15312): **** App ID from : *****
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** Check that the above information matches your setup in
03-19 14:22:36.126: W/GameHelper(15312): **** Developer Console. Also, check that you're logging in with the
03-19 14:22:36.126: W/GameHelper(15312): **** right account (it should be listed in the Testers section if
03-19 14:22:36.126: W/GameHelper(15312): **** your project is not yet published).
03-19 14:22:36.126: W/GameHelper(15312): ****
03-19 14:22:36.126: W/GameHelper(15312): **** For more information, refer to the troubleshooting guide:
03-19 14:22:36.126: W/GameHelper(15312): **** http://developers.google.com/games/services/android/troubleshooting
我为这个问题找到的解决方案是
[https://***.com/questions/22507927/app-not-correctly-configured-to-use-google-play-game-services]
但此解决方案不适用于新的 Google Play 控制台。我无法在新的 Google Play 控制台上添加 SHA-1。任何人,请帮我弄清楚我们如何在新的 Google Play 控制台 2020 上添加 SHA-1。
任何帮助将不胜感激。谢谢..!
【问题讨论】:
【参考方案1】:如果你想备份你的手机并重置你的手机并恢复备份,这应该可以工作,因为它对我有用很多次
祝你有美好的一天,khurrira
【讨论】:
感谢您的回答。但请仔细阅读我的问题。我在使用新的 Google Play 控制台时遇到问题。以上是关于Unity 游戏未正确配置为使用 google play 游戏服务的主要内容,如果未能解决你的问题,请参考以下文章
应用程序未正确配置为在 libgdx 游戏中使用 Google Play 服务
当我正在尝试为我正在通过Unity开发的游戏构建apk文件时,Android SDK未正确安装错误?