简体   繁体   English

apk必须使用相同的证书签名

[英]The apk must be signed with the same certificates

When i try to uploading new update of my app, gives me this error "The apk must be signed with the same certificates as the previous version". 当我尝试上传我的应用程序的新更新时,给我这个错误“ apk必须使用与先前版本相同的证书签名”。 Procedure: I use export wizard from eclipse, than load old cert file from my folder, i enter password correctly (i test it to enter incorrect, and cant go further) so i know for shure that is correct, and for alias the correct pass to, and save the apk. 程序:我使用eclipse的导出向导,而不是从文件夹中加载旧的证书文件,我正确输入了密码(我对其进行了测试以输入不正确,并且无法继续使用),因此我知道正确的密码以及对于别名的正确密码并保存apk。 When i try to upload gives me the error. 当我尝试上传时出现错误。 The package is the same, and oll the stuff. 包是一样的,东西也没有。 Can anyone tell me where is the problem ? 谁能告诉我问题出在哪里?

Most definitely your certificates are different, you may check using the following commands: 最肯定地,您的证书是不同的,您可以使用以下命令进行检查:

unzip -d tmp filename.apk META-INF/CERT.RSA
keytool -printcert -v -file tmp/META-INF/CERT.RSA

where filename.apk is you apk for current and/or previous version. filename.apk是您当前和/或先前版本的apk。

One of three things could cause this problem: 可能导致此问题的三件事之一:

  1. Using a different private key cert (sounds like you don't think this is your problem) 使用其他私钥证书(听起来像您不认为这是您的问题)

  2. Not increasing the versionCode and versionName in android manifest 不增加Android清单中的versionCode和versionName

  3. Using a different package name 使用其他软件包名称

Hopefully it's not that you lost the cert! 希望不是您丢失证书! Good luck! 祝好运! Someone mentioned that it is possible to sign an old version of your app with multiple certs, and then continue to use the one you still have like this 有人提到,有可能签署的老版本有多个证书您的应用程序,然后继续使用一个你仍然有像这样

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 apk必须使用与上一个相同的证书签名 - The apk must be signed with the same certificates as the previous one 错误必须使用相同的证书对apk进行签名 - Error The apk must be signed with the same certificates apk必须使用与先前相同的证书签名 - The apk must be signed with the same certificates as the previous apk 必须使用与之前版本相同的证书进行签名 - The apk must be signed with the same certificates as the previous version android - 必须使用与先前版本相同的证书对apk进行签名 - android - the apk must be signed with the same certificates as the previous version apk必须使用相同的证书签名,即使旧证书不正确 - The apk must be signed with the same certificates even if old one is not correct Android apk上传失败,并显示错误消息“该apk必须使用与上一个相同的证书签名” - Android apk upload fails with error 'The apk must be signed with the same certificates as the previous one' 在市场上上传apk时,必须使用与先前版本相同的证书对apk进行签名 - The apk must be signed with the same certificates as the previous version while uploading apk on market apk必须使用与先前版本相同的证书签名[发布具有其他信息的应用程序] - The apk must be signed with the same certificates as the previous version [release app with other informations] Android 上传到市场时出错:apk 必须使用与前一个相同的证书进行签名 - Android error while upload to market: The apk must be signed with the same certificates as the previous one
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM