0

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.

adjuremods
  • 2,938
  • 2
  • 12
  • 17
Bowser jr.
  • 21
  • 1
  • 8

1 Answers1

0

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

Community
  • 1
  • 1
adjuremods
  • 2,938
  • 2
  • 12
  • 17
  • Oh, I ended up finding a solution. I just downloaded some keystore explorer off the internet, and it shows me EVERYTHINGG about my keystore. Now I'm just confused about the difference between debug and release keystores. The first time I linked my app, it asked me to authorize with SHA1 fingerprint. I used some random keystore, but that's not the one I want to use when I release the game. Does the keystore in my APK have to have the same SHA1 as the one I authorized with? Sorry if I sound super confusing. I've never done any of this stuff before.. – Bowser jr. Sep 16 '16 at 13:18