4

I'm trying to run a cordova application on my Android phone using the command 'cordova run'. Everytime I run this with my phone plugged in to my computer I get the following error:

Installing app on device...

/Users/Rubio/Projects/beaconDemo/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device:  pkg: /data/local/tmp/CordovaApp-debug.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

ERROR running one or more of the platforms: Error: /Users/Rubio/Projects/beaconDemo/platforms/android/cordova/run: Command failed with exit code 8
You may not have the required environment or OS to run this project

How can i get around this issue?

1

1 Answer 1

13

It means the new copy of your application (on your development machine) was signed with a different signing key than the old copy of your application (installed on the device/emulator). For example, if this is a device, you might have put the old copy on from a different development machine (e.g., some other developer's machine). Or, the old one is signed with your production key and the new one is signed with your debug key. Source : How to deal with INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES without uninstallation

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.