简体   繁体   English

Android Studio 的 AVD 中的仿真器无法正确启动

[英]Emulator in Android Studio's AVD won't start correctly

I'm setting up a Flutter environment and all except my emulator isn't working.我正在设置一个 Flutter 环境,除了我的模拟器之外的所有环境都无法正常工作。

I'm using Android Studio 3.6.2我正在使用 Android Studio 3.6.2

This is the setup for the emulator in AVD:这是 AVD 中模拟器的设置:

在此处输入图像描述

Virtualization is enabled and HAXM is installed启用虚拟化并安装 HAXM

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

When launching the emulator it only gets to about where the red square is, then does nothing and returns to the virtual devices list:启动模拟器时,它只会到达红色方块所在的位置,然后什么都不做并返回到虚拟设备列表: 在此处输入图像描述

Also tried launching it with flutter itself by command line and in VS Code with no luck:还尝试通过命令行和在 VS Code 中使用 flutter 本身启动它,但没有运气: 在此处输入图像描述

在此处输入图像描述

And I don't get any error messages.而且我没有收到任何错误消息。

Anyone know where to go from here?有人知道从这里到 go 的位置吗?

Thanks.谢谢。

After creating AVD from android studio.从 android 工作室创建 AVD 后。 Open Command Prompt and execute this command.打开Command Prompt并执行此命令。

C:\Path_to_Android_Sdk\sdk\tools\emulator.exe -netdelay none -netspeed full -avd YOUR_AVD_DEVICE_NAME

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM