- Run the JAR signing and verification tool
jarsigner.exe
For example, go to the following folder and double click the icon of jarsigner.exe
:
C:\"Program Files (x86)"\Java\jdk1.7.0_45\bin\
- Locate
debug.keystore
For example, it is in the directory:
C:\Users\wenchen\.android\
- Run
keytool
For example, open a Windows command-prompt by selecting the following Windows options:
Start ⇒ All Programs ⇒ Accessories ⇒ Command Prompt
go to the following directory:
C:\"Program Files (x86)"\Java\jdk1.7.0_45\bin\
and give the following command to find an SHA-1 fingerprint:
> keytool -list -v -keystore "C:\Users\wenchen\.android\debug.keystore"
It will ask for the keystore
password, which is “android” in my case.
†Note that the SHA-1 fingerprints are not unique.
You may create a fingerprint each time you create a Google API key.