Repository navigation
Added
start --low-cpu/bake --low-cpucap the emulator's CPU: 2 vCPUs, a 30 Hz guest display and, on Apple silicon with-gpu host, guest drawing through ANGLE (GuestAngle+VulkanSnapshots). Pixel 8 API 36, headless, scrolling while the screen is read: 1.5 → 1.0 cores, host memory about the same. Also accepted in the defaults file.
Fixed
- AVDs are found where the emulator keeps them. An AVD whose
.ininame differs from its folder now starts under either name (#7), and the AVD home followsANDROID_AVD_HOME, thenANDROID_SDK_HOME/ANDROID_USER_HOME, before~/.android/avd(#6). - The Android Studio shim finds AVDs the way
avdslimdoes. It reads the AVD's.inipath=/path.rel=and uses the same AVD home order as the CLI, so Studio launches of AVDs with a mismatched folder name (#7) or underANDROID_SDK_HOME/ANDROID_USER_HOME(#6) get their snapshot andavdslim.*settings. Existing shims are rewritten on the next avdslim command. watchno longer skips every emulator, andlistno longer shows SLIMMED for unslimmed ones. The state-file check matched the file name inside adb's "No such file or directory" error (#9). It now tests for the file and matches the reply exactly.- On Windows, host PID and RAM are found again (#5). The host PID lookup used
lsof/ps, which Windows lacks, sorestart,bakeandstoptreated a running emulator as stopped andlist/measureshowed no host memory. Windows now usesnetstat -anoandtasklist.
What's Changed
- feat(start,bake): --low-cpu caps emulator CPU (2 vCPUs, 30 Hz, ANGLE on Apple silicon) by @ethan-leonard in #8
- fix: read a missing state file as not slimmed by @kdbhalala in #11
- fix: find AVDs by their .ini name and the emulator's AVD home by @kdbhalala in #12
- fix: find the Windows emulator PID and RAM with netstat and tasklist by @kdbhalala in #10
- fix: resolve AVDs in the shim by .ini path and the CLI's AVD home by @kdbhalala in #13
New Contributors
- @ethan-leonard made their first contribution in #8
- @kdbhalala made their first contribution in #11
Full Changelog: v1.0.16...v1.0.17