SHA-1 fingerprint of keystore certificate

前端 未结 30 3007
长发绾君心
长发绾君心 2020-11-21 23:36

Is the method for getting a SHA-1 fingerprint the same as the method of getting the a fingerprint? Previously, I was running this command:

30条回答
  •  清酒与你
    2020-11-22 00:17

    Easiest way for getting SHA1 Key in android studio both (Debug and release Mode)

    1. Open Android Studio
    2. Open Your Project
    3. Click on Gradle (From Right Side Panel, you will see Gradle Bar)
    4. Click on Refresh (Click on Refresh from Gradle Bar , you will see List Gradle scripts of your Project)
    5. Click on Your Project (Your Project Name form List)
    6. Click on Tasks/Android
    7. Double Click on signingReport (You will get SHA1 and MD5 in Run Bar)

    If you are using new Android Studio it shows time to execute on top there is Toggle task execution mode click on that you will get you SHA-1 key. Check 2nd and 3rd reference images.

    Check image for details

    Generate SHA-1 for Release Mode

    1-First add keystore config in your gradle How to add config in gradle.

    2-After Adding Config in gradle change build variant.

    3-Then Follow Above Procedure you will get SHA-1 for release mode.

    4-Check Image.

提交回复
热议问题