ellman121
ellman121

Reputation: 1835

Android Emulator launches from Android Studio but not Command Line

I have an odd issue with my Android emulator. Trying to start the emulator from the Command Line results in

me@machine$ /path/to/android/sdk/tools/emulator @Emu_Name
PANIC: Missing emulator engine program for 'x86' CPU.

However, when I start the emulator from Android Studio, it works. Also, I can start other Android emulators from the command line, it's just this one specific AVD that is broken.

Any ideas?

Upvotes: 1

Views: 803

Answers (1)

Blundell
Blundell

Reputation: 76458

Android Studio is launching the emulator from the directory & file:

/path/to/android/sdk/emulator/emulator

(see here https://www.stkent.com/2017/08/10/update-your-path-for-the-new-android-emulator-location.html)

That is the difference.

Running the command:

me@machine$ /path/to/android/sdk/eumaltor/emulator @Emu_Name

Should resolve your problem.

Context:

Upvotes: 1

Related Questions