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

旧笔记本Android Studio模拟器闪退(VCPU shutdown request)求助

问题:Android Studio模拟器闪退,日志提示「VCPU shutdown request」

在搭载Core i7 Q720处理器的旧笔记本上,将系统从Win8.1重装为Win10 Pro后,运行Android Studio模拟器时仅短暂显示就闪退,日志中出现「VCPU shutdown request」提示。

已完成的检查:

  • Hyper-V处于禁用状态
  • CPU支持虚拟化与64位
  • HAXM 7.6.5版本已安装可用
  • 尝试过卸载重装HAXM
  • BlueStacks可正常运行,但VirtualBox无法使用

请求提供问题排查方向。


相关命令行输出与启动日志

1. 检查Hyper-V状态

.\emulator-check.exe hyper-v
hyper-v:
1
Hyper-V is disabled
hyper-venter code here

2. 检查CPU信息

.\emulator-check.exe cpu-info
cpu-info:
146
Intel CPU|Virtualization is supported|64-bit CPU|
cpu-info

3. 检查加速状态

.\emulator-check.exe accel
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.
accel:
0
HAXM version 7.6.5 (4) is installed and usable.
accel

4. 模拟器启动日志

.\emulator.exe -avd Pixel_3a_API_34_extension_level_7_x86_64 -feature -Vulkan
INFO    | Android emulator version 32.1.14.0 (build_id 10330179) (CL:N/A)
INFO    | Found systemPath C:\\Users\\[MyUser]\\AppData\\Local\\Android\\Sdk\\system-images\\android-34\\google_apis\\x86_64\\
INFO    | Storing crashdata in: C:\\Users\\[MyUser]\\AppData\\Local\\Temp\\\\AndroidEmulator\\emu-crash.db, detection is enabled
INFO    | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.
INFO    | IPv4 server found: 1.1.1.1
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.
WARNING | Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
WARNING | cannot add library vulkan-1.dll: failed
WARNING | cannot add library vulkan-1.dll: failed
INFO    | Sending adb public key [QAAAAAucQBJd8NedUGqjFkJIgCndx2PInKaLe5CyEHiGvk9Mi3XPGTHpN+kQL+ExSfrhGmAWcp53RMVWdPiQKXel2BfE+3xY0DFq6NIid9J9w7ZPZbOxOrlPDUukDGTGZpFSK6b3rYvpB9EbCuy4crK1TJzemmJdHJ06ba8NWCwoo+M4MsNUCtyErAiI3W35zco3QnpAJOWi4B+OePTYmu94P+AGBPgYCjzAaEogKj2vKMwcFfj8rMxON91jOEdHggLit2D65oHQNJ/nF9feqr0ChdBP3sV/2abHTKCal2Ap24VVA/KISqbqoC8f0Zpu6rSNE5ZAp03acoDq5V8H6OZ9rfbzpanIgkyXfddn1wQ+1p9Moi95cdfnH82MXoycNMYZHoqZCAvo6KQ6RSkXEn1Wgrq+2lysfGmxO7p117U3lfMSpHXvx+8waZKT17zz3INDt9Zfi0mPp4Ijp4nIrPguaLXEG5dD5+MM6DdN7qAyEwhm7v9HD3JAKVFLntw1d+vTfgGrlRgW5CIu/iS9wOIA5BZETyiw0K9izh6l7FYwYvroJtm8d79mQgZ+7jr3taHfuCSmFPe9i8Uy8xpphn4gHT0gR6btt95/ec1/nD4uxZM6YSluXpSKtPfnpGVkHllSN/y14ZojyPzZNNR/1ryRjlvu0E/3QaQu4T/1za6MPyLdUVIHbAEAAQA= @unknown]
INFO    | added library C:\\Users\\[MyUser]\\AppData\\Local\\Android\\Sdk\\emulator\\lib64\\vulkan\\vulkan-1.dll
HAX is working and emulator runs in fast virt mode.
WARNING | *** No gRPC protection active, consider launching with the -grpc-use-jwt flag.***
INFO    | Started GRPC server at 127.0.0.1:8554, security: Local, auth: none
INFO    | Advertising in: C:\\Users\\[MyUser]\\AppData\\Local\\Temp\\avd\\running\\pid_7448.ini
INFO    | Setting display: 0 configuration to: 1080x2220, dpi: 440x440
VCPU shutdown request
WARNING | Not saving state: RAM not mapped as shared

排查方向建议

  • 降低AVD系统镜像版本
    Core i7 Q720属于第一代酷睿处理器,不支持EPT和UG虚拟化特性,而API 34的系统镜像对硬件要求较高。建议创建API 28及以下版本的x86/x86_64 AVD,旧版本镜像对虚拟化特性依赖更低,兼容性更好。

  • 强制禁用Vulkan渲染
    日志中出现cannot add library vulkan-1.dll: failed,说明当前环境Vulkan支持存在问题。可以:

    1. 编辑AVD配置文件(路径:C:\Users\[你的用户名]\.android\avd\[AVD名称]\config.ini),添加或修改:
      hw.gpu.mode=software
      
    2. 启动模拟器时添加参数:.\emulator.exe -avd [你的AVD名称] -gpu swiftshader_indirect,强制使用软件渲染。
  • 关闭系统隐藏虚拟化组件
    虽然Hyper-V已禁用,但Win10可能还有Device Guard、Credential Guard等后台虚拟化组件与HAXM冲突:

    1. 以管理员身份打开命令提示符,执行:
      bcdedit /set hypervisorlaunchtype off
      
    2. 运行gpedit.msc打开本地组策略编辑器,依次进入「计算机配置」→「管理模板」→「系统」→「Device Guard」,启用「关闭基于虚拟化的安全」。
    3. 重启电脑后重试。
  • 降级HAXM版本
    HAXM 7.6.5对旧CPU兼容性可能不佳,尝试降级到HAXM 7.5.1或更早版本,旧版本对第一代酷睿CPU的支持更完善。

  • 检查BIOS虚拟化设置
    重装系统后BIOS中的虚拟化选项可能被意外关闭:

    1. 重启电脑进入BIOS,找到「Intel Virtualization Technology(VT-x)」选项并确保开启。
    2. 若存在「VT-d」选项,尝试关闭(部分旧主板VT-d会与HAXM冲突)。

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.07.14 16:16:01