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

"cordova run android" fails to pick the best avd

    Details

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

      Mac OSX 10.10

      Description

      When running `cordova run android`, the scripts try to enumerate the AVDs available and parse the output from `android avd list` to determine which AVD matches the project requirements best.

      Given some of the changes over time the output now doesn't match 100% of what the script expects causing it to skip some of the AVDs and falling back to a possibly incompatible AVD.

      I created a PR on Github with a suggestion to the fix in case you guys want to incorporate it: https://github.com/apache/cordova-android/pull/221

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              robertoandrade Roberto Andrade
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: