如何使用private_key.pepk签名android应用 [英] How to Sign android app with private_key.pepk
问题描述
我现在在Google Play中有一个应用,我需要发布该应用的新版本2.
I have an app in Google Play now I need to publish new version 2 of this app.
如何使用private_key.pepk签名android应用?
how can I Sign android app with private_key.pepk ?
我丢失了Java密钥库(.jks或.keystore),我只有private_key.pepk
I lost Java keystore (.jks or .keystore) I only have private_key.pepk
推荐答案
文件private_key.pepk是用仅Google可以解密的密钥加密的私有密钥.当您注册Play签名时,该密码仅用于将密钥转让给Google.
The file private_key.pepk is your private key encrypted with a key that only Google can decrypt. It is used only for transferring the key to Google when you enroll in Play Signing.
因此您无法从此文件中提取私钥,但可以通过将该文件提供给Google来注册Play进行应用签名,他们将可以代表您对应用进行签名.您还需要设置一个不同的上传密钥(在注册结束时会提示您),以便您可以使用将创建的新密钥库对上传到Play的APK或应用捆绑包进行签名.
So you can't extract the private key from this file, but you can enroll in App Signing by Play by providing this file to Google and they'll be able to sign your app on your behalf. You will need to set a different upload key as well (you'll be prompted at the end of the enrollment) so you can sign the APKs or App Bundles you upload to Play with a new keystore you will have created.
这篇关于如何使用private_key.pepk签名android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!