问题
i have a huge problem: i don't know how to get the SHA-1 fingerprint from the file that i use to sign my app. Let's assume that my jks file (generated from Android Studio) is named "signature.jks". How can i get the SHA-1 fingerprint?
I tried with this syntax:
C:\Program Files\Java\jdk1.7.0\bin>keytool -list -v -keystore E:\apkname.keystore -alias apkname
Where "apkname" is the name of the apk and "E" is the disk where my jks file is stored.
Unfortunately it doesn't work. Can someone help me?
回答1:
Ok, sorry everybody, problem solved, i have typed the wrong path to my keystore file(the file with .jks extension), and after "-alias" i put the name of the apk instead the name of the alias, so the correct syntax was:
keytool -list -v -keystore C:\signature.jks -alias aliasName
来源:https://stackoverflow.com/questions/31103109/cant-get-sha-1-fingerprint-from-signature-jks