不同证书的apk

apk with different certificate

我遇到了证书问题,两周前我备份了我的电脑,我保存了项目和 key.jks 现在在另一台电脑上我正在尝试升级我的应用程序但上面写着:

Upload failed

You uploaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate.

Your existing APKs are signed with the certificate(s) with fingerprint(s):

[ SHA1: 90:F7:82:F9:C0:52:98:D7:EA:F9:9C:79:B9:00:1D:61:7E:5B:C5:06 ]

and the certificate(s) used to sign the APK you uploaded have fingerprint(s):

[ SHA1: 7B:67:D7:7B:C6:EB:53:49:94:41:86:89:C0:7A:2B:89:5B:0B:AC:A8 ]

有什么方法可以解决这个问题,应用程序有活跃用户,我不想失去他们

如果您丢失了 APK 密钥,则无法更新您的应用程序。 Google 的官方指南中也提到了为什么保存 API 密钥如此重要。

您可以尝试联系 Google Play 服务,但我怀疑您是否会得到肯定的答复或根本没有任何答复。最好是删除应用程序并重新创建它并 post 它。

否则你就留着吧,没有原来的Key就没法更新了。

这里来自官方网站Signing Your Application:

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.