Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android error : Cannot recover key

Tags:

android

i have a problem when i want to run my android application, this is the error message :

Error generating final archive: java.security.UnrecoverableKeyException: Cannot recover key

how to solve this problem?

thankyou

like image 912
Winyata Senjaya Avatar asked Jan 09 '13 08:01

Winyata Senjaya


2 Answers

Keystore password and key password both need to be the same. You must be getting this error if they are not same.

like image 167
Varun Bhatia Avatar answered Sep 21 '22 06:09

Varun Bhatia


Either you have enter your keystore password or Alias password is wrong, that is why you got Cannot recover key Exception.enter correct password for both keystore and alias.
Sometimes if the key is invalid due to expiration,etc then this also happened

like image 30
Pankaj Singh Avatar answered Sep 21 '22 06:09

Pankaj Singh