找不到模拟器无头

Man*_*uck 7 android android-emulator travis-ci

嗨,我在 travis 上有一个构建脚本,可以安装 android-sdk 并在无头模式下启动模拟器,直到一天前它工作正常,突然我收到错误

bash: /home/travis/android-sdk/emulator/emulator-headless: No such file or directory
Run Code Online (Sandbox Code Playgroud)

这是构建脚本,关于为什么 emulator-headless 消失的任何想法?

https://gist.github.com/mandelmonkey/941ef6e64b0d83a1b7dc8e17848b70a8

nov*_*bre 9

自 Emulator v29.2.11 起,emulator-headless不再作为单独的二进制文件存在,但已合并到emulator -no-window.

https://androidstudio.googleblog.com/2019/12/emulator-29211-and-amd-hypervisor-12-to.html


Sin*_*pse 1

我遇到了一个非常类似的问题,几天后模拟器 -no-window 标志就不再工作了。肯定有什么东西坏了。