You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2016/02/26 23:46:18 UTC
[jira] [Closed] (CB-10699) medic-run for Android can fail if adb
does not properly uninstall the app first
[ https://issues.apache.org/jira/browse/CB-10699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard B Knoll closed CB-10699.
--------------------------------
Resolution: Fixed
> medic-run for Android can fail if adb does not properly uninstall the app first
> -------------------------------------------------------------------------------
>
> Key: CB-10699
> URL: https://issues.apache.org/jira/browse/CB-10699
> Project: Apache Cordova
> Issue Type: Test
> Components: Medic
> Environment: Windows 10
> Reporter: Richard B Knoll
> Assignee: Richard B Knoll
> Priority: Critical
> Labels: android, found-by-ci, triaged
>
> Sometimes the mobilespec app does not uninstall correctly when {{cordova run}} tries to install the newly built app. This results in an INSTALL_FAILED_UPDATE_INCOMPATIBLE error and the tests not being run. Seems to be fixed by running {{adb uninstall org.apache.mobilespec}} first. This is blocked somewhat by CB-10671 which prevents that uninstall command from being run (adb gets confused when multiple devices show up). This has been causing failures on the android Windows CI
> {code}
> [MEDIC LOG Thu, 25 Feb 2016 01:15:10 GMT] FATAL: running on emulator failed
> Error: Failed to install apk to emulator: pkg: /data/local/tmp/android-debug.apk
> Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]
> {code}
--
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