How to sign your app using the upload key

后端 未结 5 825
我寻月下人不归
我寻月下人不归 2020-12-15 17:37

I\'m trying to publish my app to Google playstore, and I can not figure out how to sign the app use the upload key, as stated in https://developer.android.com/studio/publish

5条回答
  •  被撕碎了的回忆
    2020-12-15 17:47

    If google is signing your app for your, you'll have to use the SHA from the google play store. In your Google Play Console, Go into Release Management and App Signing.

    From the section App signing certificate, grab the SHA-1 certificate fingerprint value (do not grab the SHA1: part):

    11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:AA:BB:CC:DD:EE

    and use it in this command

    echo "11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF:AA:BB:CC:DD:EE" | xxd -r -p | openssl base64

    it should give you your hash

提交回复
热议问题