I am running latest version of Mac OS and I want to run android emulator through command line tool. I have run the following command on Mac terminal and got the following error.
$ emulator -list-avds
Pixel_XL_API_28
$ emulator -avd Pixel_XL_API_28
PANIC: Missing emulator engine program for 'x86' CPU.
I also run the command with available options like below that is also available on official documentation developer.android.com
$ /Users/janedoe/Library/Android/sdk/emulator/emulator -avd Pixel_XL_API_28 -netdelay none -netspeed full
What I need to do, so that I don't need to open android studios every time for only opening simulator.