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

问题描述

在在Android studio(在Windows 10中)创建的virtual device (AVD上运行应用程序时,我遇到了错误和恐慌.

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

仿真器:PANIC:找不到AVD系统路径.请定义ANDROID_SDK_ROOT模拟器:流程结束,退出代码为1

Emulator: PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOTEmulator: Process finished with exit code 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.

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

09-03 15:25