SHA-1 fingerprint of keystore certificate

前端 未结 30 3468
长发绾君心
长发绾君心 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:05

    Follow this tutorial for creating SHA1 fingerprint for Google Map v2

    For Debug mode:

    keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 
    

    for Release mode:

    keytool -list -v -keystore {keystore_name} -alias {alias_name}
    

    example:

    keytool -list -v -keystore C:\Users\MG\Desktop\test.jks -alias test
    

    On windows, when keytool command is not found, Go to your installed JDK Directory e.g. \Java\jdk1.8.0_231\bin\, open command line and try the above commands for debug/release mode.

提交回复
热议问题