Poh Peng Ric
Poh Peng Ric

Reputation: 121

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

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

Answers (1)

vahissan
vahissan

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

Related Questions