Prerequisites: The Xxx.jks key file exists in the C:\Users\Administrator\AndroidStudioProjects folder, such as:
Go to Android Studio Terminal:
Microsoft Windows [version 6.1.7600]
Copyright (c) Microsoft Corporation. All rights reserved.
C:\users\administrator\androidstudioprojects\hellotrace>keytool-v-list-keystore Keystore.jks
Keytool Error: Java.lang.Exception: KeyStore file does not exist: Keystore.jks
Java.lang.Exception: KeyStore file does not exist: Keystore.jks
At Sun.security.tools.KeyTool.doCommands (keytool.java:738)
At Sun.security.tools.KeyTool.run (keytool.java:340)
At Sun.security.tools.KeyTool.main (keytool.java:333)
C:\USERS\ADMINISTRATOR\ANDROIDSTUDIOPROJECTS\HELLOTRACE>CD.
C:\users\administrator\androidstudioprojects>keytool-v-list-keystore Keystore.jks
Keytool Error: Java.lang.Exception: KeyStore file does not exist: Keystore.jks
Java.lang.Exception: KeyStore file does not exist: Keystore.jks
At Sun.security.tools.KeyTool.doCommands (keytool.java:738)
At Sun.security.tools.KeyTool.run (keytool.java:340)
At Sun.security.tools.KeyTool.main (keytool.java:333)
C:\users\administrator\androidstudioprojects>keytool-v-list-keystore Appkey.jks
Enter KeyStore Password: direct enter no password
WARNING WARNING WARNING *****************
* The integrity of the information stored in your keystore *
* has not been verified! To verify its integrity, *
* KeyStore password must be provided. *
WARNING WARNING WARNING *****************
KeyStore Type: JKS
KeyStore provider: SUN
Your KeyStore contains 1 entries
Alias: Appkey
Date Created: 2015-12-21
Entry Type: Privatekeyentry
Certificate Chain Length: 1
Certificate [1]:
Owner: o=watret.cn, L=shenzhen, St=guangdong, C=zh
Published by: o=watret.cn, L=shenzhen, St=guangdong, C=zh
Serial Number: F297E54
Validity start Date: Mon Dec 17:52:46 CST 2015, due date: Fri Dec 17:52:46 CST 2040
Certificate thumbprint:
Md5:c4:43:48:b7:d4:5d:b3:f2:c0:60:2c:22:85:6c:1e:f0
Sha1:40:61:b3:9f:04:23:c8:22:41:c4:cc:96:d9:69:69:fc:51:81:6b:20
sha256:f1:9b:fe:ac:95:01:ab:89:0e:c3:bc:c3:82:ff:47:36:2c:bc:8d:ee:af:c4:a7:01:14:51:97:55:61:5e:22:2c
Signature Algorithm Name: Sha256withrsa
Version: 3
Extended:
#1: objectid:2.5.29.14 criticality=false
Subjectkeyidentifier [
KeyIdentifier [
0000:0E BC 4 A B3 3 a B0-AB AF BA AE 4 a B1. J.:&.qv ..... J.
0010:A2 E0 D8 EE ....
]
]
*******************************************
*******************************************
C:\users\administrator\androidstudioprojects>
Original How to query SHA1 in Android Studio