是否可以通过使用与最初使用的证书不同的证书进行签名来发布更新的应用程序
是否可以通过使用与最初使用的证书不同的证书进行签名来发布 Android 应用程序的更新?我知道当我们尝试将这样的构建上传到市场时,它通常会给出错误消息。但是有没有什么办法,比如将其标记为主要版本,在市场的某个地方指定?
Is it possible to release an update of an android app by signing it with a different certificate than the one originally used? I know it gives an error message normally when we try to upload such a build to the market. But is there any way out, like marking it as a major release, specifying somewhere in the market place?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,你不能这样做。该证书是一种工具,可确保您是第一个上传应用程序的人。
所以一定要备份密钥库!
No, you can not do it. The certificate is a tool to ensure you're the one who firstly uploaded the application.
So always backup the keystore!
目前还没有,但将来当这个问题得到解决时应该是可能的:
https://code.google.com/p/android/issues/detail?id=30870
但要明确的是,这绝对不是丢失密钥库的借口。它只允许更新旧密钥以确保安全,并允许应用程序移动域或更改所有权。
编辑:我认为这是不可能的,但我刚刚发现了这个:
如何使用多个证书签署 APK?
太棒了!
Not currently, but it should be possible in the future when this issue get's resolved:
https://code.google.com/p/android/issues/detail?id=30870
Be clear though, that it's absolutely no excuse for loosing your keystore. It would just allow old keys to be renewed for security, and allow apps to move domains or change ownership.
Edit: I didn't think this was possible, but I just found this:
How to sign an APK with more than one certificate?
Awesome!