Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10699

medic-run for Android can fail if adb does not properly uninstall the app first

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • cordova-medic
    • Windows 10

    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

      [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]
      

      Attachments

        Issue Links

          Activity

            People

              riknoll Richard B Knoll
              riknoll Richard B Knoll
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: