Signing an APK with an upload key provided by Google Play

前端 未结 5 1148
广开言路
广开言路 2020-11-30 19:33

I\'m trying to make sense of how to upload an app onto Google Play while using Google Play App Signing.

Here is what I did:

  1. Created an app
  2. Use
5条回答
  •  广开言路
    2020-11-30 20:03

    I had to contact google and followed below instructions to generate new key and upload certificate.

    The new upload key will be used to sign APKs that you upload to Play.

    Here’s how to generate and register a new upload key:

    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 upload -keyalg RSA -keysize 2048 -validity 9125 -keystore keystore.jks

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

    2.Export the certificate for that key to PEM format: keytool -export -rfc -alias upload -file upload_certificate.pem -keystore keystore.jks

    3.Reply to this email and attach the upload_certificate.pem file.

提交回复
热议问题