Android Cannot recover key

2019-07-13 09:15发布

问题:

I'm having an error recovering my key in Android Studio.

I know the key alias and I have the correct password for both.

I know this because I am able to run: keytool -list -v -keystore mykeystore.jks -alias myKey -storepass myPass -keypass myPass in cmd and get my certs.

My storepass and keypass are the same and I copied and pasted all of the values from cmd to android studio, but I still get this error. I've also tried restarting android studio and manually retyping my passwords and alias multiple times to no avail.