I lost my .keystore file?

前端 未结 11 2046
面向向阳花
面向向阳花 2020-11-22 00:06

Ok folks.. long story short, I was developing on a computer that I no longer have access to. I was able to retrieve the source code, but not the .keystore file used to sign

11条回答
  •  梦毁少年i
    2020-11-22 00:51

    It is possible for a long while.

    1. Follow the instructions in the Android Studio Help Center to generate a new key. It must be different from any previous keys. Alternatively, you can use the following command line to generate a new key:

    keytool -genkeypair -alias newalias -keyalg RSA -keysize 2048 -validity 9125 -keystore nameofkeystore.jks

    This key must be a 2048 bit RSA key and have 25-year validity.

    1. Export the certificate for that key to PEM format:

    keytool -export -rfc -alias newalias -file upload_certificate.pem -keystore nameofkeystore.jks

    Then upload this pem file and fill the form and submit it to this site . And then you will receive an email once we've registered the new upload key . Only accepts key reset requests from the Play Console account owner.

    All well and good. You can publish new release apk with your new jks file.

提交回复
热议问题