Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23735

Emulator plugin first time build "adb start-server" times out after 5 seconds

    Details

    • Similar Issues:

      Description

      During build, the emulator starts, but the log shows the following:

      [android] Using Android SDK: /Users/Shared/Jenkins/android/adt-bundle/sdk
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb start-server
      ERROR: Timeout after 5 seconds
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb start-server
      ERROR: Timeout after 5 seconds
      [android] Starting Android emulator
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/tools/emulator -no-boot-anim -ports 5773,5774 -avd Nexus-S-2 -no-snapshot-load -no-snapshot-save -noaudio
      $ /Users/Shared/Jenkins/android/adt-bundle/sdk/platform-tools/adb connect emulator-5773

      After this, nothing else happens. The job seems to get stuck.

      After this happened once, I ran the build 3 consecutive times and it built perfectly without problems. In other words, this only happened once. I didn't change any settings.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                orrc Christopher Orr
                Reporter:
                oskard Oskar Danielsson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: