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

Refactor emulator.install to use Adb.install for consistency

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None

      Description

      The emulator.install command has custom code for installing APKs, unlike device.install which uses Adb.install. This custom code is almost identical to Adb.install except that it retries the installation in certain failure cases.

      The custom code is a fix for CB-9119. The related Android bug which is mentioned (https://code.google.com/p/android/issues/detail?id=10255) refers to Android 2.2, for which support has long been dropped.

      Ideally, we should refactor this code to use Adb.install and create less overhead for maintenance.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              menardi GearĂ³id M
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: