You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2014/01/24 23:57:38 UTC
[jira] [Commented] (CB-5896) android's run --device fails when the
app already exists but signed with a different certificate
[ https://issues.apache.org/jira/browse/CB-5896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881514#comment-13881514 ]
Joe Bowser commented on CB-5896:
--------------------------------
The main use case is when you take something off the device wall and try to do tests with your local machine. Do we really need to script this?
> 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)