谷歌玩游戏服务和SHA1证书 [英] Google play game services and SHA1 certificate

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

问题描述

在谷歌Play游戏服务,你有你的应用程序链接到您的游戏服务活动。每当您关联应用,你必须提供包装,然后SHA1签名证书指纹授权。我的问题是,如果你生成应用程序的另一台计算机上的apk的SHA1证书会有所不同。所以,你必须删除链接的应用程序,并与新的SHA1重新添加呢?该文档是pretty不清楚这一点。


解决方案

  

我的问题是,如果你生成一个不同的计算机上应用的APK,
  该SHA1证书都不同


为什么该证书是不同的?您必须使用相同的密钥库,并提供密钥库密码每次生成APK的释放时间。看到这个文档


  

警告:保存在安全的地方你的密钥存储和私有密钥,并确保你有他们的安全备份。如果你将应用发布到谷歌播放,然后失去与您签署您的应用程序的关键,你将无法发布任何更新您的应用程序,因为你必须签署具有相同的键您的应用程序的所有版本。


In google play game services, you have to link your apps to your Game service campaign. Whenever you link an app you have to authorize it by providing the package and then the SHA1 Signing certificate fingerprint. My question is if you generate the app's apk on a different computer, the SHA1 certificate will be different. So do you have to delete the linked app and re-add it with the new SHA1? The documentation is pretty unclear about this.

解决方案

My question is if you generate the app's apk on a different computer, the SHA1 certificate will be different

Why would the certificate be different? You must use the same keystore and provide the keystore password every time you generate the APK for a release. See the documentation about this.

Warning: Keep your keystore and private key in a safe and secure place, and ensure that you have secure backups of them. If you publish an app to Google Play and then lose the key with which you signed your app, you will not be able to publish any updates to your app, since you must always sign all versions of your app with the same key.

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

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