After upgrading to API level 27, the emulator @test
command is no longer working.
It throws a PANIC: Missing emulator engine program for 'x86' CPU.
error
Emulator of API level 26 still works with the same command.
SDKManager is of version 26.1.1
It's because the emulator executable is present in 2 different paths now. Earlier it was in ${ANDROID_SDK_ROOT}/tools
, now the preferred executable is in ${ANDROID_SDK_ROOT}/emulator
.
Solution: add ${ANDROID_SDK_ROOT}/emulator
to you PATH
environment variable, and make sure it is present before ${ANDROID_SDK_ROOT}/tools
so that it has the priority.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With