如何使用额外的证书将 APK 推向市场...因为我丢失了第一个密钥库

发布于 2024-09-25 15:19:28 字数 549 浏览 4 评论 0原文

我的密钥库丢失了。我很可能错误地删除了它,但我在回收站中找不到它。
我的密钥库最初位于我的 bin 文件夹中,这不是一个好地方,因为文件在发布时会自动删除

我知道以前的密钥库的详细信息。也许到期日期除外。

我想将更新发布到市场上,但由于新证书不同,所以不允许我这样做。

我希望可以向当前发布的文件添加一个额外的证书,以便它可以接受仅包含新证书的更新版本。与此处描述的类似。 如何使用多个证书签署 APK?< /a>

我跳过上面描述中的第一行,因为它已经通过 eclipse 签名,但是当我执行第二行时,由于“条目压缩大小无效(预期 X 但得到 Y 字节)”,我收到

ZipException如何在我的 apk 上放置第二个证书?

有没有办法根据我所知道的信息重新创建原始密钥库?

我还没有准备好相信,我必须将更新作为全新的应用程序提交。

My keystore has gone missing. I most likely deleted it by mistake, but I can't find it in my recycling bin.
My keystore was originally in my bin folder, not a good place for it as files get automatically deleted when publishing

I know the details for the previous keystore. except maybe the date of expiry.

I want to put an update onto the market, but because the new certificate is different, it won't let me.

I was hoping that I could add an additional certificate to the current published file so that it would accept the updated version with just the new certificate. Similar to what is described here. How to sign an APK with more than one certificate?

I skip the first line in the above description because it is already signed through eclipse, but when I do the second line I get a ZipException due to "invalid entry compressed size (expected X but got Y bytes)"

Is there a way to put a second certificate on my apk?

Is there a way to recreate the original keystore from the information I know?

I'm not yet ready to believe, that I will have to submit the update as a completely new application.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

甩你一脸翔 2024-10-02 15:19:28

如果您丢失了私钥,那么您将无法恢复它并签署应用程序的未来版本。

证书字段只是文本。真正证明您作为开发人员身份的东西是私钥,它基本上是随机的位序列。

If you've lost the private key then you'll be unable to recover it and sign future versions of your app.

The certificate fields are just text. The thing that actually proves your identity as the developer is the private key, which is basically a random sequence of bits.

轻许诺言 2024-10-02 15:19:28

你完蛋了。

you are screwed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文