0

When I created a new key.jks I always get an error message that says

"Cannot recover key"

I made different keys but always get the same error. How can I solve that?

Thanks for your answers.

Zoe
  • 23,712
  • 16
  • 99
  • 132
CodeFluid
  • 127
  • 9
  • 2
    One thing that helped me to make a new keystore work instead of getting "probably was tempered with" was to 1.) clean project 2.) invalidate and restart – EpicPandaForce Feb 18 '19 at 02:51
  • Just be aware that the root cause is either Key Password or Keystore Password is incorrect. – shizhen Feb 18 '19 at 03:05

1 Answers1

1

This is caused by "Key Password and/or Keystore Password Mis-matching". You have to supply both password correctly.

See more discussions here: Android Studio: cannot recover key

shizhen
  • 10,269
  • 9
  • 43
  • 73
  • I think the key password and keystore password are okay, because in one project the key works perfectly but in other projects it throw me "Cannot recover key" – CodeFluid Feb 23 '19 at 00:38