Android Studio - 恐慌:无法打开 AVD [英] Android Studio - Panic: Could not open AVD

查看:71
本文介绍了Android Studio - 恐慌:无法打开 AVD的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在修复 Gradle 问题数小时后,我能够在 Android Studio 中构建我的测试应用程序.但是当我尝试在 AVD 中运行它时,它就是无法打开.

After many hours of fixing Gradle issues, I was able to build my test app in Android Studio. But when I tried to run it in an AVD, it just won't open.

这是日志:

Waiting for device.
C:\Users\Rahaman\AppData\Local\Android\android-studio\sdk\tools\emulator.exe -avd testAVD -netspeed full -netdelay none

PANIC: Could not open: testAVD

P.S.:我已经定义了环境变量 ANDROID_SDK_HOME 来指向 .android 目录.

P.S.: I've defined the environment variable ANDROID_SDK_HOME to point to the .android directory.

推荐答案

好的,我的库在 D: 驱动器中.所以我不得不将 .android 文件夹从 d:\myName\ 复制到 c:\Users\myName\.解决了它.

Okay, my libraries are in D: drive. So I had to copy the .android folder from d:\myName\ to c:\Users\myName\. That fixed it.

这篇关于Android Studio - 恐慌:无法打开 AVD的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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