升级我的 android studio 后 - 我尝试创建一个模拟器,但在尝试启动 AVD 时出现此错误:
Emulator: statvfs('/home/nompumelelo/.android/avd/Pixel_2_API_24.avd/snapshots/default_boot/ram.img') failed:
No such file or directory
我已经重新启动了 android studio,重新创建了 AVD - 但仍然没有成功。
下面的错误是我的终端上显示的内容。
我可以确认模拟器 29.2.1 稳定版 https://androidstudio.googleblog.com/2019/09/emulator-2921-stable.html修复了这个错误。
上面链接的摘录:
Fixed Linux Wayland 系统上启动时崩溃 https://www.reddit.com/r/androiddev/comments/d6gnrn/android_emulator_2920_crashes_on_fedora_wayland/。这是因为
XkbGetKeyboard 用于查询主机系统的键盘状态。它
似乎在 Linux 上使用 XkbGetKeyboard 并不可取,也许在
一般的:https://github.com/glfw/glfw/issues/389 https://github.com/glfw/glfw/issues/389
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)