简体   繁体   English

错误必须使用相同的证书对apk进行签名

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

My last key must have expired as when I tried to upload a new apk which I have done countless times before it has requested I load a new one. 我的最后一个密钥必须已经过期,因为当我尝试上传一个新的apk时,我已经无数次请求我加载一个新的。 However, when I do I get the message above. 但是,当我这样做时,我收到上面的消息。 I'm using the same project name and same key code file but even though I have created about half a dozen new apk files, I still get the same message. 我使用相同的项目名称和相同的密钥代码文件,但即使我已经创建了大约六个新的apk文件,我仍然得到相同的消息。 I've tried unpuiblishing my app to create a new one but it just tells me I already have an apk with the same name! 我已经尝试解开我的应用程序来创建一个新的但它只是告诉我我已经有一个同名的apk! Any help much appreciated 任何帮助非常感谢

"Package name" is unique identifier of app. “包名称”是app的唯一标识符。 If you want to update existing app, than you should sign apk with the same key, as previous apk. 如果你想更新现有的应用程序,你应该使用相同的密钥签名apk,就像之前的apk一样。

If you want to create new app you should change package name in mainfest file. 如果要创建新应用程序,则应更改mainfest文件中的包名称。 This allow you to release new app with 0 downloads, that signed with another key. 这允许您发布带有0个下载的新应用程序,该应用程序使用另一个密钥签名。

All version of the app that you've upload under the same package have to be signed under same key, as Google say here - you can't update you app after the cert is expired. 您在同一个软件包下上传的所有应用版本都必须使用相同的密钥进行签名,就像Google 在此处所说的那样 - 在证书过期后,您无法更新应用。

"If you plan to support upgrades for a single application, you should ensure that your key has a validity period that exceeds the expected lifespan of that application. A validity period of 25 years or more is recommended. When your key's validity period expires, users will no longer be able to seamlessly upgrade to new versions of your application." “如果您计划支持单个应用程序的升级,则应确保您的密钥的有效期超过该应用程序的预期生命周期。建议有效期为25年或更长时间。当密钥的有效期到期时,用户将无法再无缝升级到您的应用程序的新版本。“

暂无
暂无

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

相关问题 apk必须使用相同的证书签名 - The apk must be signed with the same certificates apk必须使用与上一个相同的证书签名 - The apk must be signed with the same certificates as the previous one 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上传失败,并显示错误消息“该apk必须使用与上一个相同的证书签名” - Android apk upload fails with error 'The apk must be signed with the same certificates as the previous one' Android 上传到市场时出错:apk 必须使用与前一个相同的证书进行签名 - Android error while upload to market: The apk must be signed with the same certificates as the previous one 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 在市场上上传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]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM