PANIC:找不到 AVD 系统路径.请定义 ANDROID_SDK_ROOT(在 Windows 10 中) [英] PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT (in windows 10)

查看:40
本文介绍了PANIC:找不到 AVD 系统路径.请定义 ANDROID_SDK_ROOT(在 Windows 10 中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android studio(在 Windows 10 中)上创建的 虚拟设备 (AVD) 上运行应用程序时,出现错误和恐慌.

While running an app on the virtual device (AVD) created on Android studio (in Windows 10), I am getting an error and panic.

模拟器:恐慌:找不到 AVD 系统路径.请定义 ANDROID_SDK_ROOT模拟器:进程完成,退出代码为 1

虽然我已经在环境变量中定义了我的 ANDROID_SDK_ROOT.

While I have already defined my ANDROID_SDK_ROOT in the environment variables.

谁能告诉我如何解决这个问题?

Can anyone please tell me how to resolve this problem?

推荐答案

打开 Android Studio,在 Tools 下,您将找到 AVD manager.单击它并确保您拥有下载了 SDK 的有效虚拟设备(如果显示,请单击操作"列中的下载").然后确保在工具栏上选择了正确的虚拟设备.

Open Android Studio and under the Tools you will find the AVD manager. Click on it and ensure that you have a valid virtual device with the SDK downloaded (click "download" in the Actions column if shown). Then ensure that the correct virtual device is selected on the toolbar.

这篇关于PANIC:找不到 AVD 系统路径.请定义 ANDROID_SDK_ROOT(在 Windows 10 中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆