Reputation: 121
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
Upvotes: 8
Views: 3790
Reputation: 2332
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.
Upvotes: 26