Can't install apk and adb devices shows there is no device/emulator

XMLWordPrintable

    • Type: New Feature
    • Resolution: Cannot Reproduce
    • Priority: Major
    • None
    • Environment:
      OSX

      I use Install Android Package Option in Build Step

      Before running the installer, I did adb devices and it's showing the emulator

      + /tmp/jenkins/tools/android-sdk/platform-tools/adb devices
      15:50:37 List of devices attached
      15:50:37 localhost:49651 device
      15:50:37
      15:50:37 [android] Installing APK file 'EM_Runtime.apk'
      15:50:37 $ /tmp/jenkins/tools/android-sdk/platform-tools/adb -s localhost:49651 install -r Runtime.apk
      15:50:47 729 KB/s (7369965 bytes in 9.870s)
      15:50:50 pkg: /data/local/tmp/Runtime.apk
      15:51:27 - waiting for device -

      It's supposed to show "Succeed" which is not. I tried to run this again:
      + /tmp/jenkins/tools/android-sdk/platform-tools/adb devices

      It would just restart adb.

      Is it a known issue? Anyway that I could resolve it?

            Assignee:
            Christopher Orr
            Reporter:
            Kevin Chow
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: