Mac and “PANIC: Missing emulator engine program for 'arm' CPU.”

后端 未结 3 810
予麋鹿
予麋鹿 2020-11-30 14:18

I am attempting to run an AVD I have created for API 16 on a Galaxy Nexus:

emulator @Galaxy_Nexus_Jelly_Bean_API_16

which gives the error

相关标签:
3条回答
  • 2020-11-30 14:25

    Just tried and verified on my Mac, to solve this problem, you need to specify the -kernel path manually. i.e.

    $ ~/Library/Android/sdk/emulator/emulator  @Galaxy_Nexus_Jelly_Bean_API_16 -kernel ~/Library/Android/sdk/system-images/android-16/default/armeabi-v7a/kernel-qemu
    

    Some references for you:

    1. Emulator error: This AVD's configuration is missing a kernel file

    2. https://developer.android.com/studio/run/emulator-commandline

    --- Edit ---

    To avoid typing the -kernel argument every time, you can also copy the ~/Library/Android/sdk/system-images/android-16/default/armeabi-v7a/kernel-qemu file to ~/Library/Android/sdk/add-ons/addon-google_apis-google-16/images/armeabi-v7a.

    0 讨论(0)
  • 2020-11-30 14:31

    Maybe it is the emulator tool path issue. Try to specify the full path of your emulator path.

    Try the answer from here. Windows emulator.exe PANIC: Missing emulator engine program for 'x86' CPU

    0 讨论(0)
  • 2020-11-30 14:40

    [Partial answer - to a related issue on the IDE]

    I have faced this problem also. My Android Studio couldn't even start the emulator, coming up with an error like "Emulator: Process finished with exit code 1". The fix there was to install/update the relevant system images under SDK Manager -> SDK Platforms (tab) -> Click "Show Package Details" and then "Apply".

    However, this doesn't seem to make the CLI command emulator -avd <avd name> run, instead I see the PANIC error, but apparently it's related to the migration of the emulator from the SDK path /tools to /emulator

    0 讨论(0)
提交回复
热议问题