Issue
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
I get this error:
PANIC: Missing emulator engine program for 'x86' CPU.
But I can run the emulator from android studio and it's working fine! I have an intel processor.
Solution
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
Answered By - shizhen
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.