Error keytool: java.security.UnrecoverableKeyException: cannot restore key android

I cannot sign my apk with an existing keystore. This gives me this signing error: com.android.ide.common.signing.KeytoolException: Failed to read key Cannot recover key

So, following this link , I tried to change the password, but at the same time, when answering keytool error: java.security.UnrecoverableKeyException: Cannot recover key when executing this command:

keytool -keypasswd -alias %MyKeyAlias% -new %newpassword% -keystore KeyStore.jks

I already have a version available in the playstore using this keystore.

+5
source share
1 answer

It looks like there is no private key.

0
source

Source: https://habr.com/ru/post/1260040/


All Articles