谷歌获取Play服务的签名无效 [英] Getting Google Play services signature invalid

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

问题描述

我试图谷歌,加上登录集成在我的申请,我该指南为同一如下:的 https://developers.google.com/+/mobile/android/getting-started

I am trying to integrate Google plus login in my application, I am following this guide for the same: https://developers.google.com/+/mobile/android/getting-started

一切都设置正确,当我运行该应用程序,我得到了谷歌Play服务的签名无效除了

Everything is setup properly except when I run the application I get the "Google Play services signature invalid"

我认为这个问题是在SHA1密钥我生成,但是我做了它,因为它已在上述文献中已有记载。我无法衡量的问题。任何提示吗?

I think the problem is in the SHA1 key I am generating, however I have done it as it has been described in the above document. I am unable to gauge the problem. Any hints?

我也附上了我是如何生成的密钥的屏幕截图:的http:// img443.imageshack.us/img443/3039/d96d.jpg

I am also attaching the screen shot of how I generated the key: http://img443.imageshack.us/img443/3039/d96d.jpg

推荐答案

当您创建调试键,你与你的生成关联呢?

When you create your debug key, have you associated it with your build?

在下面的图片,从窗口 - > preferences,然后Android->构建,取其使用SHA1,与F2键启动:38,需要将所选择的关键,建立与...

In the pic below, from Window->Preferences, and then Android->Build, whichever key is using your SHA1 that starts with F2:38, needs to be the selected key to build with...

(如果当你想重新安装保持这个键,切换到另一台计算机..等)

(keep this key if for when you want to re-install, change to another computer.. etc...)

如果不是它,一对夫妇的其他东西流行在脑海中。

If that isn't it, a couple of other things pop to mind.

请确保您的包名与您添加在您的开发者账户的任何包匹配,并确保只使用您的帐号资源文件的数量部分:

Make sure your package name matches with whatever package you added on your developer account, and make sure you are only using the number portion in your ID resource file:

<resources>
<string name="app_id">774883601790</string>
</resources>

当然您尝试该帐户是您的开发者帐户,或添加到您的测试帐户列表中(不会是同样的错误,虽然...)

and of course that the account you are trying is your developer account, or added to your list of test accounts (wouldn't be the same error though...)

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

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