Skip to main content

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:

How to handle a lost KeyStore password in Android?

If you have a situation where either you have forgotten a Keystore password or change of developers and the password wasn't sent across.... what to do?  However, your app lives on and needs to be updated!

 

Possible solutions

grade.properties

This is a great starting point.  Have a look in your android/gradle.properties file.  Unfortunately, the android/ directory didn't exist and I had to run the command prompt to generate.  So no password!

Subscribe to 33.x