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

FAILED TO establish the default connection to the WindowServer (While launching existing emulator through android emulator plugin )

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      /Users/Shared/Jenkins/Home/workspace/emulator_of_jenkins [android] *Failed to create file or directory: /Users/Shared/Jenkins/.android $ */Users/Library/Android/sdk/tools/bin/avdmanager list target [android] Using Android SDK: /Users/Library/Android/sdk $ /Users/Library/Android/sdk/platform-tools/adb start-server * daemon not running; starting now at tcp:5848 * daemon started successfully $ /Users//Library/Android/sdk/platform-tools/adb start-server [android] Starting Android emulator $ /Users/Library/Android/sdk/emulator/emulator -ports 5788,5789 -report-console tcp:5819,max=60 -avd emulator -no-window _RegisterApplication(), FAILED TO establish the default connection to the WindowServer, _CGSDefaultConnection() is NULL. emulator: ERROR: A snapshot operation for 'emulator' is pending and timeout has expired. Exiting... [android] Emulator did not appear to start; giving up [android] Stopping Android emulator $ /Users/Library/Android/sdk/platform-tools/adb kill-server Finished: NOT_BUILT

        Attachments

          Activity

          Hide
          orrc Christopher Orr added a comment -

          Just pasting a build log (without newlines, in a massive font) isn't a useful bug report, nor is JIRA a support forum.

          Did you do any troubleshooting, like investigating why Jenkins cannot write to /Users/Shared/Jenkins/.android?

          Show
          orrc Christopher Orr added a comment - Just pasting a build log (without newlines, in a massive font) isn't a useful bug report, nor is JIRA a support forum. Did you do any troubleshooting, like investigating why Jenkins cannot write to /Users/Shared/Jenkins/.android ?
          Hide
          sumitkathuria theexplorer added a comment -

          Yes, because of permission. My bad

          Show
          sumitkathuria theexplorer added a comment - Yes, because of permission. My bad
          Hide
          sumitkathuria theexplorer added a comment -

          Not able to run existing emulator and even make emulator on the fly is not working. Please suggest!

          Show
          sumitkathuria theexplorer added a comment - Not able to run existing emulator and even make emulator on the fly is not working. Please suggest!

            People

            • Assignee:
              orrc Christopher Orr
              Reporter:
              sumitkathuria theexplorer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: