title: Android Studio - Keystore was tampered with, or password was incorrect
body: <p>I am trying to generate a signed APK by using the built-in widget in Android Studio v1.4.</p>
  
  <p>However, I got this annoying error </p>
  
  <blockquote>
    <p>Error:Execution failed for task ':app:packageRelease'.
    Failed to read key cckey from store "C:\Users\Lancelot\Desktop\release.jks": Keystore was tampered with, or password was incorrect</p>
  </blockquote>
  
  <p>I was able to retrieve my key alias like the below screenshot
  <a href="https://i.stack.imgur.com/AK7EU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AK7EU.png" alt="enter image description here"></a></p>
  
  <p>(In order to get to here, the key store password must be correct; otherwise it'll show error)</p>
  
  <p>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 <code>keytool -keypasswd  -alias cckey -keystore C:\Users\Lancelot\Desktop\release.jks</code>. 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.</p>
  
  <p>So question is, if my key store password, key alias, and key password are all correct, what's wrong with it then??</p>