[
https://issues.apache.org/jira/browse/CB-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882145#comment-13882145
]
Andrew Grieve commented on CB-5896:
-----------------------------------
I ran into it when I got a new computer. We've also run into it when sharing a
test device amongst our team. Not a high priority, but worth fixing if it's
easy I think.
> 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)