[英]Google Play Console New App Signing Process: Do we need .pepk and .keystore files both everytime when we release the app?
I am planning to upload a brand new app to the Google Play Store.我计划将一个全新的应用程序上传到 Google Play 商店。
I have followed this link to generate .aab file.我已按照此链接生成 .aab 文件。 https://developer.android.com/studio/publish/app-signing#sign_release https://developer.android.com/studio/publish/app-signing#sign_release
.pepk, KeyStore, .aab files generated. .pepk、KeyStore、.aab 文件生成。
Now I have selected the first option("Let Google manage and protect your app signing key") in Google Play Console for the app signing and uploaded the .aab file.现在,我在 Google Play Console 中选择了第一个选项(“让 Google 管理和保护您的应用签名密钥”)进行应用签名并上传了 .aab 文件。
I am not sure whether this is the correct way of uploading the .aab file because it never asked me to upload the .pepk file.我不确定这是否是上传 .aab 文件的正确方法,因为它从未要求我上传 .pepk 文件。 However .aab file uploaded successfully.但是 .aab 文件上传成功。
I guess I don't need to generate .pepk file from Android Studio if I go with the option "Let Google manage and protect your app signing key"如果我选择“让 Google 管理和保护您的应用签名密钥”,我想我不需要从 Android Studio 生成 .pepk 文件
So hereafter do I need to use both .pepk and .keystore files to sign the .aab file?那么此后我是否需要同时使用 .pepk 和 .keystore 文件来签署 .aab 文件? What happens if I lose any of the two or both?如果我失去了两者中的任何一个或两者,会发生什么?
The .pepk
file is only needed when you are already publishing an app and had initially opted out of Play Signing. .pepk
文件仅在您已经发布应用程序并且最初选择退出 Play 签名时才需要。 This is the way to securely transfer your app signing key to Google.这是将您的应用签名密钥安全地传输给 Google 的方法。
If you're creating a new app, you don't need this file, you can enroll in Play Signing immediately selecting the first option "Let Google manage and protect app signing key (Recommended)" and Play will generate the app signing key for you.如果您正在创建一个新应用程序,则不需要此文件,您可以立即注册 Play Signing,选择第一个选项“让 Google 管理和保护应用程序签名密钥(推荐)”,Play 将为您生成应用程序签名密钥你。 If you want to also keep a hold of the private key, you can use the option "Export and upload a key from Java keystore" which will give you the tool and commands to run (unfortunately, the .pepk
file cannot be used in this flow the moment).如果您还想保留私钥,您可以使用“从 Java 密钥库导出并上传密钥”选项,这将为您提供要运行的工具和命令(不幸的是, .pepk
文件不能在此使用流动的时刻)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.