谷歌播放服务和"没有与此客户端ID&QUOT相关联的关联应用; [英] Google Play Services and "There is no linked app associated with this client ID"

查看:111
本文介绍了谷歌播放服务和"没有与此客户端ID&QUOT相关联的关联应用;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现谷歌播放服务下谷歌的文档和我看到下面当我尝试连接我的 GameClient

I'm trying to implement Google Play Services following Google's documentation and I'm seeing the following when I try to connect my GameClient:

E/Volley: [4953] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/me
E/Volley: [4953] il.a: Unexpected response code 401 for https://www.googleapis.com/games/v1/players/me
E/SignInIntentService: There is no linked app associated with this client ID.

我检查证书签署APK,调试证书的SHA1,并给予谷歌API的SHA1的SHA1指纹不匹配,他们做。我检查了该应用程序ID在应用项目清单中声明(我已经采取了在我的案件的13位数字编号,不是一个还包括一个包)。我也检查了我使用的测试帐户是每个开发者控制台中列出,它们是;他们每个@ gmail.com也和他们包括我的开发人员的地址。他们已经每个激活的谷歌加。

I've checked that the SHA1 fingerprint of the certificate signing the APK, the SHA1 of the debug certificate, and the SHA1 given to the Google API do match up and they do. I've checked that the app id is declared in the manifest in the application item (I've taken in my case the 13 digit numerical id, not one that also includes a package). I've also checked that the test accounts I'm using are each listed in the Developer Console and they are; they're each @gmail.com too, and they include my developer address. They've each activated Google Plus.

我已经从一个API 16 S3设备和API谷歌17 API模拟器尝试这个。该应用程序的包名在清单中正确声明,开发者控制台和API包名称相匹配。该应用程序被列为游戏服务的客户端,并显示为准备进行测试。

I've tried this from an API 16 S3 device and an API 17 Google API simulator. The app's package name is correctly declared in the manifest, on the developer console and matches the API package name. The app is listed as a client of the game service, and is shown as 'ready for testing'.

总之我竭力要看看我的错误可能是什么,我已经错过了。我觉得我有一切从谷歌的故障排除解决了。我在这里看到在计算器上的主要问题,他们正在覆盖。不管是什么,我缺少的可能是盯着我充分的脸。我能会丢失?

In short I'm struggling to see what my mistake can be and what I've missed. I think I have everything from Google's troubleshooting addressed too. I've looked at the main questions here on StackOverflow, and they're covered. Whatever it is I'm missing is probably staring me full in the face. What can I be missing?

推荐答案

我被困在这个问题上很长一段时间,直到我意识到,我在我的应用程序名为APP_ID两个字符串。一位来自Facebook的SDK和一个来自谷歌。我改名为谷歌APP_ID(并改变相应的清单参考),一切都很好。

I got stuck on this problem for a long time until I realised that I had two strings in my app called "app_id". One from the Facebook SDK and one from Google. I renamed the Google app_id (and changed the corresponding manifest reference) and all was well.

这可能是你有类似的问题。如果你不能看到错误,然后我会尝试写出来的APP_ID到syslog,确认这不是问题的原因。

It is POSSIBLE that you have a similar problem. If you can't see the error then I would try to write out the app_id to syslog to confirm that this is not the cause of the problem.

顺便说一句,我所有的谷歌APP_ID S(客户端ID)是12个字节不是13,那么也许你应该通过检查开始。

Incidentally, all my Google app_id s (client ids) are 12 bytes not 13, so perhaps you should start by checking that.

祝您好运!

这篇关于谷歌播放服务和"没有与此客户端ID&QUOT相关联的关联应用;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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