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:

Class referenced in the manifest 'com.{app_name}.app.MainActivity' was not found in the project or the libraries

Updating the Android app and while testing I'm seeing the following error in the AndroidManifest.xml file

Class referenced in the manifest, `com.{app_name}.app.MainActivity`, was not found in the project or the libraries

And the accompanying error

Unresolved class 'MainActivity'

 

Android Studio error when running app through emulator

Only a month ago, running an app through the Android Studio emulator was running fine.  Now I'm warmly greeted by

Error
Installation did not succeed.
The application could not be installed: INSTALL_PARSE_FAILED_NO_CERTIFICATES

The complete error is 

Version code 1 has already been used. Try another version code

Uploading a new version of an Android app to Google Play and I'm seeing this error

Version code 1 has already been used. Try another version code.

There are three areas to observe:

Version Code: {whole integer}
Version Name: {String}
Version Name Suffix: {Integer}

Currently, my settings are:

Subscribe to 33.x