【发布时间】:2019-06-20 10:55:07
【问题描述】:
我正在尝试使用 AVD 管理器启动虚拟设备,但我注意到问题出现在 Android 操作系统早于 Android 6.0 (API 23) 的设备上。
我正在使用 Xamarin.Android C# (Visual Studio) 并且我需要启动的设备是 Android 8.1 (API 27 Intel Atom x86) 但是当我尝试启动它时出现错误消息:“kernel-qemu"。
错误:
Starting emulator for AVD 'Ocho'
emulator: ERROR: This AVD's configuration is missing to kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.
emulator: ERROR: ANDROID_SDK_ROOT is defined (C: \ Program Files (x86) \ Android \ android-sdk \) but can not find kernel file in C: \ Program Files (x86) \ Android \ android-sdk \\ system-images \ sub directories
我检查了它应该在的文件夹,只有一个名为“kernel-ranchu-64”的文件,我已经尝试过将“ranchu”重命名为“qemu”,但是它不起作用。
我不知道还能尝试什么。 有没有人有我需要运行模拟器的 kernel-qemu 文件?
【问题讨论】:
-
我已经检查了这个问题,还有很多其他人喜欢它,但这些答案都没有对我有用。他们还提到了 Eclipse 或其他一些程序配置,这也不是我的情况。
-
我通过使用 Android 9.0 的虚拟设备解决了这个问题。
标签: android xamarin.android android-emulator virtualization avd