模拟器启动错误:ERROR: This AVD's configuration is missing a kernel file!

新建模拟器启动时出现以下错误:

18:29   Emulator: 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.

18:29   Emulator: emulator: ERROR: ANDROID_SDK_ROOT is undefined

18:29   Emulator: Process finished with exit code 1

解决方法:
1.在环境变量中添加ANDROID_SDK_ROOT,指向你的SDK路径;
此时再次启动模拟器可能会报以下错误:

18:36   Emulator: 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.

18:36   Emulator: emulator: ERROR: ANDROID_SDK_ROOT is defined (D:\Android\SDK) but cannot find kernel file in D:\Android\SDK\system-images\ sub directories

18:36   Emulator: Process finished with exit code 1

此时看看你的SDK manager:


SDK manager

看看你的模拟器有没有更新,有就直接更新,之后再启动模拟器就不会报错了。

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • Android 自定义View的各种姿势1 Activity的显示之ViewRootImpl详解 Activity...
    passiontim阅读 176,742评论 25 709
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 136,224评论 19 139
  • 傍晚,女人在厨房准备晚餐 ,她静静的在厨房和餐厅间穿梭着,忙碌着。把准备好的食物端到大理石餐桌上,餐盘落到桌...
    wang希望阅读 1,675评论 0 0
  • 火车开走了, 你留了下来。
    郭绿狮阅读 1,855评论 0 2

友情链接更多精彩内容