本文介绍了该APK必须具有相同的证书为previous版签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经上传我的应用程序,以谷歌播放前一段时间(当它被称为Android Market的背面)。

I had uploaded my app to Google Play (back when it was called Android Market) some time ago.

今天,我更新的应用程序,但我已经删除了previous密钥库,并创建了一个新的。
上传时,它说的APK必须使用相同的证书为previous版签名:

Today I updated the app, but I had deleted the previous keystore and created a new one.
When uploading, it says the APK must be signed with the same certificates as the previous version:

上传失败。

您上传的是用不同的证书到您的previous的APK签署APK。您必须使用相同的证书。

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

您现有的APK与证书(S)与指纹(S)签署:
  [SHA1:89:2F:11:FE:CE:D6:CC:DF:65:E7:76:3E:DD:A7:96:4F:84:DD:BA:33]
  和证书(S)用于签名的APK你上传有指纹(S):
  [SHA1:20:26:F4:C1:DF:0F:2B:D9:46:03:FF:AB:07:B1:28:7B:9C:75:44:CC]

Your existing APKs are signed with the certificate(s) with fingerprint(s):
[ SHA1: 89:2F:11:FE:CE:D6:CC:DF:65:E7:76:3E:DD:A7:96:4F:84:DD:BA:33 ]
and the certificate(s) used to sign the APK you uploaded have fingerprint(s):
[ SHA1: 20:26:F4:C1:DF:0F:2B:D9:46:03:FF:AB:07:B1:28:7B:9C:75:44:CC ]

不过,我没有这个证书,不想删除并重新发布该应用程序,因为它的活跃用户。

But I don't have this certificate, and don't want to delete and re-publish the application, because it has active users.

我能做些什么,以新的证书签名我的应用程序?

What can I do to sign my app with new certificate?

推荐答案

什么也没有。阅读文档: href="http://developer.android.com/guide/publishing/publishing.html#marketupgrade">发布更新

Nothing. Read the documentation: Publishing Updates on Android Market

在上传更新的应用程序,请确保你已经增加了android:版本code和android:manifest文件中的元素VERSIONNAME属性。此外,包名必须是相同的和的apk文件必须使用相同的私钥签名。如果包名和签名证书不匹配的现有版本,市场会认为这是一个新的应用程序并不会它提供给用户的更新。

这篇关于该APK必须具有相同的证书为previous版签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

查看更多