Just recently I have had a problem with a key store. I know there are plenty of questions about this problem already. I have read them all and Googled furiously.
My key alias stoped working sudenly. (Ok, after few updates of Android Studio and Java).
I tried all solutions from this thread as well as from others. In my case the solution was surprising. I have the keystore with few aliases. None was working except one, which had password the same as keystore. But unfortunately it wasn't the one I needed. This made me thinking with no logic involved. I copied single alias to new keystore with
keytool -importkeystore -srckeystore old.keystore -destkeystore new.keystore -srcalias importantalias
And then I changed alias password to the same as keystore's password with:
keytool -keypasswd -keystore new.keystore -alias importantalias
Finally I was able to sign my apk. It looks like silly bug which can waste a day of development.