[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to