virtual device (AVD在Android studio()上创建的)上运行应用程序Windows 10时,出现错误和恐慌。
模拟器:PANIC:找不到AVD系统路径。请定义ANDROID_SDK_ROOT仿真器:进程完成,退出代码为1
虽然我已经ANDROID_SDK_ROOT在环境变量中定义了我。
谁能告诉我如何解决这个问题?
Setup:
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
我的 Android SDK 安装(在带 AS 的 Windows 和不带 AS 的 Linux 中)不断提示我“您的模拟器已过时”。
我的 Windows AS 没有找到任何更新。我的sdkmanager --list遗嘱如下:
任何人都可以帮忙吗?