Search code examples
google-play-servicessha1android-keystoreunreal-engine4

How can I get an Android keystore file's "SHA1 fingerprint"?


Okay, I need some serious help. So I want to use some Google Play Services in my game that's not yet released. I made my game using the Unreal Engine. I followed this documentation to generate the keystore file, but I need the SHA1 fingerprint and I can't get it. I tried following this website, but I keep getting this error:

keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect

Does anyone know about this error, because I'm beginning to get pretty pissed off with this stupid key stuff.


Solution

  • Your Android keystore usually has a password (eg. production keystores), when you call keytool -list -v ...., there should have been a prompt that asks for the password of the keystore selected. If correct, it will give out the necessary information of that keystore (SHA-1, etc.). You can refer to this stackoverflow question