emulator: ERROR: This AVD‘s configuration is missing a kernel file! Please ensure the file “kernel-q

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

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值