Can't get SHA-1 fingerprint from signature.jks
Asked Answered
H

2

2

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?

Harri answered 28/6, 2015 at 18:11 Comment(1)
any error message displayed?Conception
H
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
Harri answered 28/6, 2015 at 18:54 Comment(0)
K
0

alias name is not mandatory. For me following worked:

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

Kellner answered 9/3, 2021 at 10:8 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.