You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2015/09/01 08:22:45 UTC

[jira] [Closed] (CB-9557) cordova-android fails to install release apk on device if debug version is already installed on device

     [ https://issues.apache.org/jira/browse/CB-9557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vladimir Kotikov closed CB-9557.
--------------------------------
    Resolution: Fixed

> cordova-android fails to install release apk on device if debug version is already installed on device
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CB-9557
>                 URL: https://issues.apache.org/jira/browse/CB-9557
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>
> *Repro steps:*
> {noformat}
> cordova platform add android
> cordova run android --debug
> cordova-run android --release --buildconfig=somevalidbuildconfig.json
> {noformat}
> *Expected:*
> Both debug and release packages are ran successfully on device/emulator
> *Actual:*
> Release package fails to install with following error:
> {noformat}
> ERROR: Failed to launch application on device:
> ERROR: Failed to install apk to device:
> WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix.
>         pkg: /data/local/tmp/android-debug.apk
> Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org