I have been trying to run my little application in the emulator which comes with Android Studio or the Android SDK only for some reason it stopped working after I decided to run all the updates Android Studio suggested.
After a bit of research it looks like you need to run the emulator from a different directly tools/emulator
vs emulator/emulator
then it works for me:
/Users/x/Library/Android/sdk/emulator/emulator -avd Pixel_2_API_28 -verbose
emulator: Android emulator version 28.0.25.0 (build_id 5395263) (CL:77b96786ddf712e1477c6e05cddb09526043faef)
emulator: Found AVD name 'Pixel_2_API_28'
emulator: Found AVD target architecture: x86
emulator: argv[0]: '/Users/x/Library/Android/sdk/emulator/emulator'; program directory: '/Users/x/Library/Android/sdk/emulator'
emulator: Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator: Probing for /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86//kernel-ranchu-64: file exists
emulator: Auto-config: -engine qemu2 (based on configuration)
emulator: Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator: emuDirName: '/Users/x/Library/Android/sdk/emulator'
emulator: Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/
etc..
while running the command like Fire does I am getting:
/Users/x/Library/Android/sdk/tools/emulator -avd Pixel_2_API_28 -verbose
results in:
emulator:Android emulator version 26.0.3.0 (build_id 3965150)
emulator:Found AVD name 'Pixel_2_API_28'
emulator:Found AVD target architecture: x86
emulator:argv[0]: '/Users/x/Library/Android/sdk/tools/emulator'; program directory: '/Users/x/Library/Android/sdk/tools'
emulator: Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator:Probing for /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86//kernel-ranchu: file missing
emulator:Auto-config: -engine classic (based on configuration)
emulator: Found directory: /Users/x/Library/Android/sdk/system-images/android-28/google_apis_playstore/x86/
emulator:try dir /Users/x/Library/Android/sdk/tools
emulator:Looking for emulator-x86 to emulate 'x86' CPU
emulator:Probing program: /Users/x/Library/Android/sdk/tools/emulator64-x86
emulator:Probing program: /Users/x/Library/Android/sdk/tools/emulator-x86
PANIC: Missing emulator engine program for 'x86' CPU.