I am trying to generate a signed APK by using the built-in widget in Android Studio v1.4.
However, I got this annoying error
Error:Execution failed for task ':app:packageRelease'.
Failed to read key cckey from store "C:UsersLancelotDesktop
elease.jks": Keystore was tampered with, or password was incorrect
I was able to retrieve my key alias like the below screenshot
(In order to get to here, the key store password must be correct; otherwise it'll show error)
Then I typed in my key password but no luck on signing the APK...
I even tried changing the key password using the command line keytool -keypasswd -alias cckey -keystore C:UsersLancelotDesktop
elease.jks
. By running this I need to enter old password correctly before entering new password, which all went through; this proves that key password wasn't wrong at the first place.
So question is, if my key store password, key alias, and key password are all correct, what's wrong with it then??
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…