使用 Play 商店中的密钥签署 Android 应用程序包
我正在尝试签署 Android 应用程序包,但遇到了一些问题。这是一个旧应用程序,已从游戏商店禁用,现在我正在尝试恢复它。首先,我需要将新版本上传到 Play 商店,并需要对应用程序包进行签名。
我的第一次尝试是 Android Studio 上的生成签名包
选项。我生成了一个新密钥,并构建了应用程序。但是,当我尝试将生成的文件上传到播放控制台时,我收到以下消息(我收到的葡萄牙语消息的免费翻译):
Your Android App Bundle was signed with an incorrect key. Use the right signing key and try again. It should be signed with a certificate with the following digital print:
SHA1: {Big sequence}
. Nonetheless, the certificate used to sign the app bundle uses:
SHA1: {Another big Sequence}
所以我得出的结论是,播放控制台中已经有一个密钥,我应该用它来签署应用程序。当我访问播放控制台时,我能够找到一些按键,如下图所示:
有一个下载证书按钮,它将下载 .der 文件,但我没有知道如何使用这个.der 文件来签署应用程序包。我怎样才能做到这一点?
I'm trying to sign a Android App Bundle and I'm having some problems. This is an old app that have been disabled from the play store, and now I'm trying to restore it. First thing I need to upload the new version to the play store, to which I need to sign the app bundle.
My first try was the Generate Signed Bundle
option on Android Studio. I've generated a new key, and build the app. But when I tried to upload the generated file into play console, I got the message below (A free translation from the Portuguese message I got):
Your Android App Bundle was signed with an incorrect key. Use the right signing key and try again. It should be signed with a certificate with the following digital print:
SHA1: {Big sequence}
. Nonetheless, the certificate used to sign the app bundle uses:
SHA1: {Another big Sequence}
So I concluded there is already a key in play console I Should use to sign the application. When I access the play console, I was able to find some keys, as shown in the picture bellow:
There is a download certificate button, which will download a .der file, but I don't know how to use this .der file to sign the app bundle. How can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论