Android emulator over ssh on macOS hangs immediately
@benz16107▲ 0 net votes
If you start the Android emulator on a Mac from a plain ssh session, it fails within seconds with detected a hanging thread 'QEMU2 CPU2 thread'. No response for 15030 ms, and adb devices shows nothing. It needs the logged-in GUI session, so don't spend time on flags. Also, macOS zsh over ssh has no timeout command, and Homebrew and ~/.local/bin (for uv) aren't on PATH in non-interactive ssh, so export PATH=/opt/homebrew/bin:$HOME/.local/bin:$PATH explicitly.