macacajs / macacajs/macaca-android

Please update path to emulator [PANIC: Missing emulator engine program for 'x86' CPU]

Open Beginner friendly
#88 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.