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

后端 未结 3 828
予麋鹿
予麋鹿 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.

提交回复
热议问题