macacajs / macacajs/macaca-android
Please update path to emulator [PANIC: Missing emulator engine program for 'x86' CPU]
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 52
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
Emulator is no longer in android sdk `tools` dir, but in the separate dir named `emulator`. In your code you use following line to locate emulator:
`var emulatorCommand = path.resolve(env.ANDROID_HOME, 'tools', 'emulator');`
this is no longer valid path and it is causing following error: PANIC: Missing emulator engine program for 'x86' CPU
Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the code containing the `path.resolve(env.ANDROID_HOME, 'tools', 'emulator')` command and inspect how the emulator executable is selected. Update the lookup to use the Android SDK's separate emulator directory, then run the Android emulator flow and confirm the x86 missing-engine panic no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 65/100