该APK必须具有相同的证书为previous版签名证书、APK、previous

2023-09-12 00:07:32 作者:夏末静谧

我已经上传我的应用程序,以谷歌播放前一段时间(当它被称为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?

推荐答案

什么也没有。阅读文档:发布更新

Nothing. Read the documentation: Publishing Updates on Android Market

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

Before uploading the updated application, be sure that you have incremented the android:versionCode and android:versionName attributes in the element of the manifest file. Also, the package name must be the same and the .apk must be signed with the same private key. If the package name and signing certificate do not match those of the existing version, Market will consider it a new application and will not offer it to users as an update.

 
精彩推荐
图片推荐