简体   繁体   English

该应用程序配置不正确的Google Play游戏服务

[英]The application is incorrectly configured Google Play Game Services

Mabe will I look like a true newbie, and mabe am I, but I'd request some help from you ! 马贝,我看起来像是一个真正的新手,我可能是,但是我需要您的帮助!

I have done all this : 我已经完成了所有这一切:

added and linked my app in the Dev Console (game services) included the App_id into my app/manifest added BaseGameActivity and GameHelper to my project (from GitHub) added the google-play-services library to my project extended BaseGameActivity I took App_id from console, it's 100% correct. 在开发者控制台中添加了我的应用程序并将其链接(游戏服务),其中将App_id包含到我的应用程序/清单中;在我的项目中添加了BaseGameActivity和GameHelper(来自GitHub);在我的项目中添加了google-play-services库;扩展了BaseGameActivity,我从控制台获取了App_id ,这是100%正确的。 I'm trying to log in with an test account SHA1 and package name 100% correct. 我正在尝试使用测试帐户SHA1和软件包名称100%正确登录。

I have put the app id & achievement ids both in the ids.xml file & strings file 我已经将应用程序ID和成就ID都放入了ids.xml文件和字符串文件中

<?xml version="1.0" encoding="utf-8"?>
<resources>
  <string name="app_id">239----------</string> .......

And I still can't get rid of this "Application not correctly configured"..... neither on the test one neither on the signed one. 而且我仍然无法摆脱这种“应用程序配置不正确”的问题。 I have created two client IDs in Google Developer Console>Credentials with both the test & signed sha1, correct information & deep linking successively disabled & enabled. 我已经在Google Developer Console>凭据中创建了两个客户端ID,并且已分别测试并签名了sha1,正确的信息和深度链接已被禁用和启用。

I'm starting to be bored..... 我开始无聊了.....

After 4 hours of researching, i found the solution to fix this error successfully: 经过4小时的研究,我找到了成功解决此错误的解决方案:
When developing, make sure you sign the SHA1 with you debug.keystore NOT release keystore. 在开发时,请确保使用debug.keystore签署SHA1 。不要发布密钥库。
Good luck! 祝好运!

使用完全相同的参数将新应用链接到我的开发控制台解决了我的问题:)

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

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