Home » Android » android – Starting Emulator for API level 27 through CLI, Missing emulator engine program for 'x86' CPU

android – Starting Emulator for API level 27 through CLI, Missing emulator engine program for 'x86' CPU

Posted by: admin June 15, 2020 Leave a comment

Questions:

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

How to&Answers:

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.