You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/01/24 21:48:38 UTC

[jira] [Created] (CB-5896) android's run --device fails when the app already exists but signed with a different certificate

Andrew Grieve created CB-5896:
---------------------------------

             Summary: android's run --device fails when the app already exists but signed with a different certificate
                 Key: CB-5896
                 URL: https://issues.apache.org/jira/browse/CB-5896
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
            Reporter: Andrew Grieve
            Priority: Minor


logcat will tell you: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES

SO explains it: http://stackoverflow.com/questions/3185444/how-to-deal-with-install-parse-failed-inconsistent-certificates-without-uninstal

We probably want to not always uninstall first, since that wipes that app's data. Instead, we should detect the error and only then run `adb uninstall <package name>`



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)