android / android/android-test
emulated_device.py incompatible with macOS
- Dominant language
- Java
- Stars
- 1.2k
- Forks
- 342
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 2
Description
`emulated_device.py` invokes `find` in the following way:
https://github.com/android/android-test/blob/eaddf2ba037e79ac13a2e70c716773ed4c7e3cf2/tools/android/emulator/emulated_device.py#L1492
The `-printf` option is not POSIX compatible, it's a feature of GNU find. As a result, starting an emulator fails on macOS.
Contributor guide
Research direction
Start in tools/android/emulator/emulated_device.py at the find invocation around line 1492, and inspect how starting an emulator reaches that command. Check the command's macOS behavior and compare it with the GNU find assumption. Done means starting an emulator no longer fails on macOS because of the non-POSIX -printf option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100