相关疑难解决方法(0)

紧急:找不到AVD系统路径。请定义ANDROID_SDK_ROOT(在Windows 10中)

virtual device (AVDAndroid studio()上创建的)上运行应用程序Windows 10时,出现错误和恐慌。

模拟器:PANIC:找不到AVD系统路径。请定义ANDROID_SDK_ROOT仿真器:进程完成,退出代码为1

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

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

android android-virtual-device android-studio

16
推荐指数
6
解决办法
4万
查看次数

Android Studio Emulator is not working on Windows 11 when WSL2 is installed

Setup:

  • Windows 11 Home 21H2 22000.132
  • AMD Ryzen 5900X
  • WSL2
  • Android studio lastest build (also tried with latest beta)

Problem: As soon as I install WSL2, the emulator stops working. It's giving the following error message:

C:\Users\gusta\AppData\Local\Android\Sdk\emulator>emulator.exe -avd Android_TV_1080p_API_300
emulator: Android emulator version 30.8.4.0 (build_id 7600983) (CL:N/A)
handleCpuAcceleration: feature check for hvf
added library vulkan-1.dll
Failed to open /qemu.conf, err: 2
C:\Users\gusta\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: WHPX: Failed to setup partition, hr=c0350005
C:\Users\gusta\AppData\Local\Android\Sdk\emulator\qemu\windows-x86_64\qemu-system-x86_64.exe: failed to initialize WHPX: Invalid argument
Run Code Online (Sandbox Code Playgroud)

Using WSL2 at the same …

android android-emulator android-studio windows-subsystem-for-linux wsl-2

8
推荐指数
2
解决办法
7881
查看次数

安卓模拟器老是说过时了

我的 Android SDK 安装(在带 AS 的 Windows 和不带 AS 的 Linux 中)不断提示我“您的模拟器已过时”。

我的 Windows AS 没有找到任何更新。我的sdkmanager --list遗嘱如下:

在此处输入图片说明

任何人都可以帮忙吗?

android android-emulator

5
推荐指数
1
解决办法
1521
查看次数