Windows emulator.exe PANIC: Missing emulator engine program for 'x86' CPU

前端 未结 3 492
星月不相逢
星月不相逢 2020-12-05 19:24

I\'m trying to use emulator.exe as android emulator for Charles Proxy. But I have problem, when I launch

emulator @5.1_WVGA_API_28 


        
相关标签:
3条回答
  • 2020-12-05 19:35

    If you want to run emulator from command line,

    <your-full-path>/emulator -avd 5.1_WVGA_API_28 
    

    For newer version of Android SDK, the emulator path should be something as below:

    /<xxx>/Android/sdk/emulator/emulator
    

    For older version of Android SDK, the emulator path is as below:

    /<xxx>/Android/sdk/tools/emulator
    

    Try either one of above to see which is your case.

    Here is the official document for Android emulator command line usage: https://developer.android.com/studio/run/emulator-commandline

    0 讨论(0)
  • 2020-12-05 19:37

    I have solved the problem. You must install HAX drivers. You can do it here: https://software.intel.com/en-us/articles/intel-hardware-accelerated-execution-manager-intel-haxm Or just do update of SDK:

    C:\Users\%username%\AppData\Local\Android\Sdk\tools\android.bat update sdk

    0 讨论(0)
  • 2020-12-05 19:53

    That was not a path/location problem on my PC.

    I have to use x86_64 system images to get the emulator working from the command line...

    https://stackoverflow.com/a/56099493/531322

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