Skip to main content

keytool error: java.io.IOException: keystore password was incorrect

The "keystore password was incorrect" error in keytool indicates that the password you provided when trying to access or modify a keystore is incorrect. To resolve this issue, you can follow these steps:

 

Verify the Correct Password

Double-check that you are entering the correct password for the keystore. Passwords are case-sensitive, so make sure that the case of the characters in the password matches the one you used when creating or modifying the keystore.

How to generate a new private key (.pepk)

How to generate a new private key and submit it to Google Play for signing your Android app, you can follow these steps:

Generate a New Keystore (Private Key)

You can generate a new keystore file (which includes the private key) using the keytool utility that comes with the Java Development Kit (JDK). Open a command prompt or terminal and run the following command to generate a new keystore:

Subscribe to Google Play