Android error: cannot restore key

I have a problem, when I want to run an Android application, this error message:

Error creating final archive: java.security.UnrecoverableKeyException: cannot restore key

How to solve this problem?

Thankyou

+4
source share
3 answers

The key password and password for the key must be the same. You should get this error if they do not match.

+2
source

Either you enter the password for your keystore, or the password for the alias is incorrect, so you have Unable to recover the Exception.enter key, the correct password for both the keystore and the alias.
Sometimes, if the key is invalid due to expiration, etc., this also happened

+1
source

You have problems with your key.

This will give you key information.

http://developer.android.com/tools/publishing/app-signing.html#debugmode

To change a key in debug mode

(To do so in Eclipse/ADT, go to Windows > Preferences > Android > Build.) 
0
source

All Articles