美文网首页工作专题
模拟器启动错误:ERROR: This AVD's co

模拟器启动错误:ERROR: This AVD's co

作者: ncd | 来源:发表于2018-08-14 19:32 被阅读3837次

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

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

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

相关文章

网友评论

    本文标题:模拟器启动错误:ERROR: This AVD's co

    本文链接:https://www.haomeiwen.com/subject/fqtbbftx.html