关于android_SDK_ROOT的Android studio虚拟设备错误

时间:2016-10-29 11:39:47

标签: android android-studio

我需要使用android stdio开发一些应用程序,但是当我尝试打开虚拟设备时,它有一些问题。

Cannot launch AVD in emulator.
Output:
emulator: WARNING: Crash service did not startemulator: 
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

我已经找到了一些关于这个错误的解决方案,即。 intel x86 haxm,SDK版本,安装jave JDK8 ......但它还没有工作......这个问题发生了什么?

2 个答案:

答案 0 :(得分:3)

当我试图在没有任何x86图像的情况下运行时,我遇到了这个问题。运行SDK Manager时可以看到这里:

SDK Manager

在安装缺少的x86映像后,它工作正常。

披露:我从另一个SO post获得此图片。

答案 1 :(得分:1)

您必须先下载系统映像。