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

Android "cordova run" sometimes locks up the emulator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Component/s: cordova-android
    • Environment:

      Android on OSX and Windows

      Description

      ADB commands used in "cordova run" for Android don't always wait for proper success conditions on Android, sometimes calling operations at the wrong time. For example, sometimes installation happens too soon after emulator boot, and the emulator locks up.

      The implementation of "cordova run" for Android should be made more robust. A reference implementation can be found in the Jenkins Android code, here: https://github.com/jenkinsci/android-emulator-plugin/blob/master/src/main/java/hudson/plugins/android_emulator/InstallBuilder.java.

        Attachments

          Activity

            People

            • Assignee:
              alsorokin Alexander Sorokin
              Reporter:
              dblotsky Dmitry Blotsky
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified