0

I created a key for my application on my laptop and released my application. Now I just copied that key into a flash and now I want to reuse it again, But I get this error:

Error:Execution failed for task ':app:packageRelease'.
> com.android.ide.common.signing.KeytoolException: Failed to read key key0 from store "E:\Rasad\Key\RasadKey.jks": Keystore was tampered with, or password was incorrect

I just test this path again with a new key and it happened again!

What is the problem?

Thankyou for your answers.

Ehsan
  • 2,676
  • 6
  • 29
  • 56

2 Answers2

0

Copy the ".jks" file and enter the same password you have used before. When generating signed apk, choose existing instead of new. Hope it helps

Rahul Singh Chandrabhan
  • 2,531
  • 5
  • 22
  • 33
0

It's very likely that you have provided either the wrong key store password, or the wrong key password. There's an easy way to check with keytool:

Check android keystore keypass for correctness

terencey
  • 3,282
  • 4
  • 32
  • 40