[
https://issues.apache.org/jira/browse/CB-10699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard B Knoll updated CB-10699:
---------------------------------
Description:
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}
was: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
> 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: Bug
> Components: Medic
> Environment: Windows 10
> Reporter: Richard B Knoll
> Assignee: Richard B Knoll
> 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: [email protected]
For additional commands, e-mail: [email protected]