You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android Studio虚拟设备创建后无法运行,报错求助

解决Android Studio虚拟设备无法运行的问题

Hey there! Let's break down how to fix these emulator issues you're facing—since you're new to Android Studio, these hiccups are totally normal, so let's get your virtual device up and running.

1. 处理Quick Boot不支持的警告

10:06 AM Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.

This warning means your CPU doesn't support the virtualization features required for Quick Boot. Here's how to work around it:

  • Open the AVD Manager in Android Studio (you can find it in the toolbar or via Tools > Device Manager).
  • Locate your virtual device, click the pencil icon (Edit) next to it.
  • In the Emulated Performance section, change the Boot option from Quick Boot to Cold Boot.
  • Save your changes and restart the emulator. This will bypass the Quick Boot requirement and start the device from scratch each time.

2. 解决"Could not find wglG..."初始化错误

This error is usually tied to graphics drivers or OpenGL support. Try these fixes one by one:

更新显卡驱动

  • For Intel GPUs: Grab the latest driver from Intel's official driver support page (no external links needed—just search for your CPU model's graphics driver).
  • For NVIDIA/AMD GPUs: Use their respective driver managers (GeForce Experience for NVIDIA, Radeon Software for AMD) to update to the latest stable driver. Outdated drivers often cause OpenGL-related glitches with the emulator.

调整模拟器图形渲染设置

  • Head back to your virtual device's edit page (same as step 1).
  • In the Emulated Performance section, look for the Graphics dropdown:
    • If it's set to Automatic, try switching to Software (this uses CPU rendering instead of GPU, which can bypass driver compatibility issues).
    • If you had it set to Software, try switching to Hardware (make sure hardware acceleration is enabled on your system first—you can check this in Windows' graphics settings or macOS's system preferences).

确保模拟器使用独立显卡(笔记本用户)

If you're using a laptop with dual graphics (integrated + dedicated), the emulator might be defaulting to the weaker integrated GPU:

  • For NVIDIA users: Open the NVIDIA Control Panel, go to Manage 3D settings > Program Settings, add Android Studio.exe and qemu-system-x86_64.exe (the emulator's core process) to the list, and set their preferred graphics processor to High-performance NVIDIA processor.
  • For AMD users: Open Radeon Software, go to Graphics > Graphics Profiles, add the same two programs and set them to use the dedicated GPU.

After trying these steps, restart Android Studio and launch your virtual device again—it should work properly now!

内容的提问来源于stack exchange,提问作者Jonny

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 10:13:19