[英]Android studio virtual device error about the android_SDK_ROOT
I need to use the android stdio to develop some app, BUT when I try to open the virtual device, it has some problem. 我需要使用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
I already found some solutions about this error, ie. 我已经找到了一些关于这个错误的解决方案,即。 the intel x86 haxm, SDK version, install the jave JDK8... but it's not work yet....What happen about this problem?? intel x86 haxm,SDK版本,安装jave JDK8 ......但它还没有工作......这个问题怎么了?
I had this problem when I tried to run without any x86 image. 当我试图在没有任何x86图像的情况下运行时,我遇到了这个问题。 You can see here when running the SDK Manager: 您可以在运行SDK Manager时看到此处:
It worked after the installation of the missing x86 image. 它在安装缺少的x86映像后起作用。
Disclosure: I got this image from another SO post . 披露:我从另一个SO帖子中得到了这张图片。
你必须先下载系统映像。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.