无法登陆谷歌Play游戏服务 [英] Fail to login Google Play Game Services

查看:2261
本文介绍了无法登陆谷歌Play游戏服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

设置我在开发者控制台游戏包名称和正确的签名证书并创建了一个排行榜的(但没有创建成果)。

I set up my game on Developer Console with package name and right signing certificate and created a leaderboard for it (but no achievements was created).

然后,我下载示例中键入数字挑战赛从https://developers.google.com/games/services/downloads/

Then, I downloaded the sample "Type A Number Challenge" and "BaseGameUtils" from https://developers.google.com/games/services/downloads/

在那之后,我在键入数字Challendge修改软件包名称,排行榜ID,应用程序ID,删除关于成就code,生成正确的签名证书的apk文件并进行测试。

After that, I modified the package name, leaderboard ID, application ID in "Type A Number Challendge", removed the code regarding achievement, generate the apk file with the right signing certificate and test it.

不过,被提示以下对话框,当我尝试登录Google+的我的电话:

However, the following dialog was prompted when I try to login Google+ on my phone:

应用程序配置不正确。检查包名称和签名证书匹配开发者控制台中创建客户端ID。另外,如果该应用程序还没有公布,请检查帐户,您试图与登录被列为测试账号,请参见日志以获取更多信息。

请参阅Eclipse的日志,软件包名称,应用程序ID和签名证书符合我在谷歌控制台,我试图登录被列入名单测试仪上的帐户设置。

Refer to the logs on Eclipse, the package name, application ID and signing certificate match my setting on Google Console and the account I tried to login was listed on tester list.

我也发布的应用程序,但是,同一个对话框仍然提示。

I also published the application, however, the same dialog still prompted.

我想知道如果我错过了什么?

May I know if I missed something?

感谢您。

推荐答案

下面有几件事情尝试:

仔细检查了APK是越来越有正确的证书签名。即使你确信它是:-)下面是一个例子命令行:

Double-check that the APK is getting signed with the right certificate. Even if you're sure that it is :-) Here's an example command line:

unzip YourGame.apk
keytool -printcert -file META-INF/CERT.RSA

看看在 SHA1 行打印的指纹相匹配你在开发者控制台中输入。

See if the fingerprint printed in the SHA1 line matches what you entered in Developer Console.

接下来,仔细检查你的的Andr​​oidManifest.xml 文件的元数据标签。你应该有:

Next, double-check your metadata tags on your AndroidManifest.xml file. You should have:

<meta-data android:name="com.google.android.gms.games.APP_ID"
    android:value="@string/app_id" />

和,当然,你应该有一个相应的字符串 RES /价值/ strings.xml中与您的应用程序ID:

And, of course, you should have a corresponding string in res/values/strings.xml with your app ID:

<string name="app_id">123456789012</string>

请确保该应用程序ID中包含的唯一数字的。这是一个错误包括.apps.googleusercontent.com在这里!)

Make sure this app ID contains only digits. It is an error to include ".apps.googleusercontent.com" here!)

此外,请确保该帐户测试手机上在测试仪开发者控制台部分上市(但你说你发表你的应用程序,所以这不应该的问题......但检查也无妨)。

Also, make sure the account on your test phone is listed in the Testers section of the developer console (but you said you published your app, so this shouldn't matter... but check it anyway).

有关其它故障排除提示,请查看我们的故障排除指南

For other troubleshooting tips, check out our troubleshooting guide.

这篇关于无法登陆谷歌Play游戏服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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