[英]How can I make a new release on my android app if i lost my keystore?
I run 2 command我运行 2 个命令
keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks keytool -genkeypair -alias upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks
This command create keystore.jks.此命令创建 keystore.jks。 Export the certificate for that key to PEM format (upload_certificatie.pem).将该密钥的证书导出为 PEM 格式 (upload_certificate.pem)。 I will attach upload_certificatie.pem and reply Googleplay developer support to reset the upload key for my app.我将附上 upload_certificate.pem 并回复 Googleplay 开发人员支持以重置我的应用的上传密钥。
keytool -genkeypair -v -storetype PKCS12 -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 9125 keytool -genkeypair -v -storetype PKCS12 -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 9125
This command create my-upload-key.keystore that will be placed in the ./android/app folder in my react native project.此命令创建 my-upload-key.keystore ,它将放置在我的 react native 项目的 ./android/app 文件夹中。
I lost my old my-upload-key.keystore.我丢失了旧的 my-upload-key.keystore。 Will the above commands help me keep updating my app?上述命令会帮助我不断更新我的应用程序吗? Thank you for your help!谢谢您的帮助!
The answer to your question is no.你的问题的答案是否定的。 When you loose your keystore you cannot make updates to that application.当您松开您的密钥库时,您将无法对该应用程序进行更新。 You will have to make a new application in the play store.您必须在 Play 商店中创建一个新应用程序。
Your only other option is to make a new keyfile and contact google support.您唯一的其他选择是制作一个新的密钥文件并联系谷歌支持。
https://medium.com/@farukcankaya/recover-your-lost-android-keystore-file-633c853bd11f https://medium.com/@farukcankaya/recover-your-lost-android-keystore-file-633c853bd11f
You can create a keyfile with the following command (Keystore and JKS are basically the same):您可以使用以下命令创建密钥文件(Keystore 和 JKS 基本相同):
keytool -genkeypair -v -storetype PKCS12 -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.