[ 
https://issues.apache.org/jira/browse/CB-10699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169883#comment-15169883
 ] 

ASF subversion and git services commented on CB-10699:
------------------------------------------------------

Commit cea6c852e39766aa54032e75879b50912f1541ba in cordova-medic's branch 
refs/heads/master from riknoll
[ https://git-wip-us.apache.org/repos/asf?p=cordova-medic.git;h=cea6c85 ]

CB-10699: Attempt to uninstall mobilespec on Android emulator before run


> 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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to