The emulator process for AVD was killed
我环境 ubuntu 20.04 android studio 4.1.1;
因为需要在运行AVD的同时运行VirtualBox虚机(https://blog.youkuaiyun.com/zggzcgy/article/details/23987637),所以使用 arm ABI 镜像;
一开始下载 arm64-v8a 镜像, 老报这个错,后来下了个 armeabi-v7a 镜像, 就好了。不过最后还是放弃了,相比 x86 的镜像,速度实在太慢了,难以忍受。
更新,今天又发现另外的问题(不是上面那个),用命令行启动模拟器容易发现问题 https://developer.android.google.cn/studio/run/emulator-commandline?hl=zh-cn
guyuming@gymDesktop:~/Android/Sdk/emulator$ ./emulator -list-avds
test1
tv_x86
guyuming@gymDesktop:~/Android/Sdk/emulator$ ./emulator -avd tv_x86
emulator: ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
emulator: ERROR: ANDROID_SDK_ROOT is undefined