cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-9557) cordova-android fails to install release apk on device if debug version is already installed on device
Date Wed, 26 Aug 2015 13:07:45 GMT

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

Vladimir Kotikov updated CB-9557:
---------------------------------
    Description: 
*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}

  was:
*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}


> 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


Mime
View raw message