-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
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
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)
- duplicates
-
JENKINS-40178 Use new QEMU2 Emulator engine
- Closed