1

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?

shannontesla
  • 885
  • 1
  • 8
  • 27

2 Answers2

2

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
shannontesla
  • 885
  • 1
  • 8
  • 27
0

alias name is not mandatory. For me following worked:

keytool -keystore "C:\signature.jks" -list -v

Monika Moon
  • 188
  • 3
  • 9