Google Play游戏服务:调试和发布证书 [英] Google Play Game Services : Debug AND Release certificate

查看:194
本文介绍了Google Play游戏服务:调试和发布证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

经过多次尖叫和撕裂的头发之后,我终于获得了应用内结算和Play服务登录以在我的Android应用程序中工作 - 有点。谷歌应该真的为自己感到羞耻,这个过程一直在艰苦地放在一边。在教程页面中提到了一个非常重要的信息例子:您必须在Google Play Developer Console中创建新的客户端ID,而不是在Google Developers Console中。



现在我已经达到了我的调试APK与游戏服务登录(排行榜和成就)的匹配点,而我的发布APK可以与应用内结算一起使用。但不是在同一时间。我知道调试APK不允许进行应用内结算,但为什么在调试登录时游戏服务无法登录?我有三倍和四倍检查包名称,客户端ID,应用程序ID,调试和发行证书SHA1指纹和一切完美匹配,但仍然没有运气。我遇到了可怕的没有与此客户端ID关联的链接应用程序。它显然是连接的,因为它使用调试证书工作。



是否还有其他限制或小细节我必须考虑使这个)=#(¤/ ¤()work?: - )

解决方案

好吧,你可能看过去年的一些悲惨故事,



没有关联的应用程序与此客户端ID关联





Google Play服务和没有与此客户ID关联的关联应用程序





Google Play服务 - 登录 - 客户端ID调试与版本

但是,我建议您查看所有不同的贡献,因为它们中的一个很可能适合。即使我自己谦卑的提交重新。 app_id问题值得你的生命值30秒。



最让我感到困扰的是,它看起来好像你可能一直试图用api做这些事情控制台(现在称为开发者控制台),而不是Google Play开发者控制台。这是去年出现问题的主要原因(尽管谷歌因为人们遇到的所有困难而做出了一些改进)。如果一切都失败了,我建议在Google Play开发者控制台中从头开始创建新的定义 - 此时Google Play游戏服务的文档非常准确。我没有使用应用内付款,所以我无法对此发表评论。


After much screaming and tearing of hair I have finally gotten In-App billing and Play Services sign in to work in my Android application - kind of. Google should really be ashamed of themselves, the process has been gruelling to put it mildly. One example of extremely important information that is mentioned kind of like an afterthought on the tutorial pages: "You must create the new client ID in the Google Play Developer Console, not in the Google Developers Console."

I have now reached the point where my debug APK works with Game Services sign in (leaderboard and achievements), and my release APK works with In-App billing. But not both at the same time. I know that debug APK does not allow for In-App billing, but why does not the Game Service sign in work when debug sign in works? I have triple and quadruple checked that package name, client ID, application ID, debug AND release certificate SHA1-fingerprints and everything matches up perfectly, but still no luck. I get the dreaded "There is no linked app associated with this client ID." It's obviously linked, as it works using the debug certificate.

Are there yet another restrictions or minor detail I have to think about to make this ")=#(¤/"¤() work? :-)

解决方案

Well you've probably seen some of the tales of woe from last year e.g.

There is no linked app associated with this client ID

and

Google Play Services and "There is no linked app associated with this client ID"

and

Google Play Services - Sign in - Client ID debug vs release

However, I do recommend that you review all the different contributions, because it is highly likely that one of these will fit. Even my own humble submission re. the app_id problem is worth 30 seconds of your life.

What troubles me most, is it that it looks as though you may have been trying to do this stuff from the api console (now called the developers console) as opposed to the Google Play Developer Console. That was a major cause of problems last year (although Google made some improvements as a result of all the difficulties that people encountered). If all else fails, I would recommend creating new definitions from scratch in the Google Play Developer Console - at this point the documentation for Google Play Game Services is very accurate. I have not used in-app billing so I could not comment on that.

这篇关于Google Play游戏服务:调试和发布证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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