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

Can't run emulator "PANIC: Missing emulator engine program for 'x86' CPU." after clean install Android Studio 2.3.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Labels:
      None
    • Environment:
      macOS Sierra 10.12.4
      Java SE 8 (1.8.0_121)
      Android Studio 2.3.1
      Jenkins 2.54
      android-emulator-plugin 2.15

      $sdkmanager --list
      emulator 26.0.0
      build-tools 25.0.2
      tools 26.0.1
      platform-tools 25.0.4
    • Similar Issues:

      Description

      Current behaviour

      I could not run emulator with android-emulator-plugin 2.15. It shows "PANIC: Missing emulator engine program for 'x86' CPU." and never starts emulator.

      Workaround

      It worked after I did these two steps.

      1. Add to global Jenkins environment variables:

      LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ANDROID_HOME/tools/lib

      2. Add to android-emulator-plugin->Advanced->Emulator options:

      -engine auto

      I found somehow this stackoverflow question helpful.

      I guess adding QEMU2 support would solve the problem (ref. JENKINS-40178)

        Attachments

          Issue Links

            Activity

            marjanovic Dragan Marjanovic created issue -
            marjanovic Dragan Marjanovic made changes -
            Field Original Value New Value
            Environment macOS Sierra 10.12.4
            Java SE 8 (1.8.0_121)
            Android Studio 2.3.1

            $sdkmanager --list
            emulator 26.0.0
            build-tools 25.0.2
            tools 26.0.1
            platform-tools 25.0.4
            macOS Sierra 10.12.4
            Java SE 8 (1.8.0_121)
            Android Studio 2.3.1
            Jenkins 2.54
            android-emulator-plugin 2.15

            $sdkmanager --list
            emulator 26.0.0
            build-tools 25.0.2
            tools 26.0.1
            platform-tools 25.0.4
            marjanovic Dragan Marjanovic made changes -
            Description *Current behaviour*

            I could not run emulator with android-emulator-plugin 2.15. It shows "PANIC: Missing emulator engine program for 'x86' CPU." and never starts emulator.

            *Workaround*

            It worked after I did these two steps.

            1. Add to global Jenkins environment variables:

            LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ANDROID_HOME/tools/lib

            2. Add to android-emulator-plugin->Advanced->Emulator options:

            -engine auto

            I guess adding QEMU2 support would solve the problem (ref. JENKINS-40178)
            *Current behaviour*

            I could not run emulator with android-emulator-plugin 2.15. It shows "PANIC: Missing emulator engine program for 'x86' CPU." and never starts emulator.

            *Workaround*

            It worked after I did these two steps.

            1. Add to global Jenkins environment variables:

            LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ANDROID_HOME/tools/lib

            2. Add to android-emulator-plugin->Advanced->Emulator options:

            -engine auto

            [I found somehow this stackoverflow question helpful.|http://stackoverflow.com/questions/26483370/android-emulator-error-message-panic-missing-emulator-engine-program-for-x86]

            I guess adding QEMU2 support would solve the problem (ref. JENKINS-40178)
            marjanovic Dragan Marjanovic made changes -
            Summary "PANIC: Missing emulator engine program for 'x86' CPU." after clean install Android Studio 2.3.1 Can't run emulator "PANIC: Missing emulator engine program for 'x86' CPU." after clean install Android Studio 2.3.1
            orrc Christopher Orr made changes -
            Link This issue duplicates JENKINS-40178 [ JENKINS-40178 ]
            orrc Christopher Orr made changes -
            Resolution Duplicate [ 3 ]
            Status Open [ 1 ] Closed [ 6 ]

              People

              Assignee:
              orrc Christopher Orr
              Reporter:
              marjanovic Dragan Marjanovic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: