Skip to content
Advertisement

Failed to read key key1 from store even tho key is 100% correct

I am trying to create a release build for my app, but no matter what I do, it does not work. I get this error everytime:

Task :app:packageRelease FAILED

JavaScript

I created so many keys and passwords and this time (every time created it new), but it always says “keystore password was incorrect” even tho it is 100% correct!!

JavaScript

gradle properties

JavaScript

Advertisement

Answer

I fixed the issue, and I hate Android studio so much for that. Instead of writing this:

JavaScript

you have to write this

JavaScript

Duh. Wasted another hour of my life

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement