简体   繁体   English

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

[英]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时看到此处:

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.

相关问题 如何在 mac 中设置 ANDROID_SDK_ROOT? - How to set ANDROID_SDK_ROOT in mac? ubuntu 服务器中的 ANDROID_SDK_ROOT 在哪里? - Where is the ANDROID_SDK_ROOT in ubuntu server? 错误:ANDROID_HOME 和 ANDROID_SDK_ROOT 环境变量均未导出 - Error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported 未找到 Android SDK。 尝试设置 ANDROID_SDK_ROOT 环境变量。 android studio颤振构建在windows上 - No Android SDK found. Try setting the ANDROID_SDK_ROOT environment variable. android studio flutter build on windows Ionic:模拟器:错误:这个AVD的配置缺少一个内核文件!模拟器:错误:ANDROID_SDK_ROOT未定义 - Ionic : emulator: ERROR: This AVD's configuration is missing a kernel file!! emulator: ERROR: ANDROID_SDK_ROOT is undefined Android Studio虚拟设备错误 - Android Studio Virtual Device Error android_sdk_root 在哪里? 以及如何设置它。? - Where is android_sdk_root? and how do I set it.? 如何在 Mac OS 上安装 ANDROID_SDK_ROOT? - How to install ANDROID_SDK_ROOT on Mac OS? 模拟器不接受ANDROID_SDK_ROOT - emulator doesn't accept ANDROID_SDK_ROOT AVD系统路径损坏 - 但ANDROID_SDK_ROOT是否已定义且正确? - Broken AVD system path - But ANDROID_SDK_ROOT is defined and correct?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM