PS D:\bf\linkolder> emulator -list-avds
Pixel_2_API_29
PS D:\bf\linkolder> emulator -avd Pixel_2_API_29
emulator: ERROR: This AVD's configuration is missing a kernel file! Please ensure the file "kernel-qemu" is in the same location as your system image.
emulator: ERROR: ANDROID_SDK_ROOT is undefined
我使用命令启动安卓的仿真模拟器时,报错
然后我使用这个命令查看仿真机是去哪里找文件的
PS D:\bf\linkolder> emulator -avd Pixel_2_API_29 -verbose
命令显示在这个文件夹下找的
emulator: Found directory: D:\android-sdk-windows/system-images\android-29\google_apis_playstore\x86\
然后我就把下面的一个文件夹的名字改了
改完以后再使用命令重新启动就可以启动了
参考文章:https://it.cha138.com/biancheng/show-5375789.html【中文标题】模拟器错误:此AVD的配置缺少内核文件【英文标题】:Emulatorerror:ThisAVD\'sconfigurationismissingakernelfile【发布时间】:2012-03-3112:58:13【问题描述】:当我尝试在Eclipse中运行Android模拟器时发现了这个问题。无法弄清楚发生了什么。我在网上搜索了解决方案,但似乎很模糊,我也不是很清楚。我正在按照站点安装AVD的步骤进行操作,但我无法弄清楚我错过了什么。请按照以下步骤向我解释。【问题讨论】:同样的问https://it.cha138.com/biancheng/show-5375789.html命令行启动AVD/命令行启动Android虚拟机(emulator: ERROR: This AVD's configuration is missing a kernel file!解决) - 知乎今天学到了命令行启动Android虚拟机,遇到一些问题并解决了,分享一下 Android Studio太吃性能,所以选择在命令行启动Android虚拟机1.检查环境配置命令行输入: adb --version2.用命令行指令emulator.exe运行虚拟…
https://zhuanlan.zhihu.com/p/522960788