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

Android Studio模拟器运行失败求助:空活动项目启动时崩溃

解决Android Studio模拟器崩溃及Quick Boot警告问题

Hey there, let's work through this emulator crash issue you're facing with your Empty Activity project. Based on the error messages you shared, here are some actionable fixes:

1. 禁用Quick Boot/Snapshots功能

Since your CPU doesn't support the required EPT + UG features for Quick Boot, turning this off should eliminate that warning and possibly fix the crash:

  • Open Android Studio, go to Tools > Device Manager
  • Find the emulator device you're using, click the dropdown menu next to it and select Edit
  • In the emulator settings window, uncheck the Enable Quick Boot option (it might be labeled "Use snapshots" in older versions)
  • Save the settings and restart the emulator

2. 调整模拟器内存分配

Sometimes insufficient RAM allocation causes emulator crashes. Let's tweak that:

  • In the same emulator edit window, go to the Advanced tab
  • Lower the RAM value (try setting it to 1024MB or 1536MB if it was higher)
  • Also check the VM Heap size, setting it to 256MB is usually sufficient for a test project
  • Apply changes and restart the emulator

3. 检查CPU虚拟化设置

Even if you think it's enabled, double-check your BIOS/UEFI settings:

  • Restart your computer and enter BIOS/UEFI (usually by pressing F2, Del, or Esc during boot)
  • Look for options like Intel VT-x, AMD-V, or SVM Mode and make sure they're enabled
  • Save changes and boot back into Windows, then try running the emulator again

4. 重新创建模拟器设备

If the above steps don't work, the emulator image might be corrupted:

  • Go to Device Manager, delete the problematic emulator device
  • Click Create device, choose a basic device (like Pixel 4) and select a newer Android system image (preferably API 28 or higher, but avoid the latest if you're on an older CPU)
  • Complete the setup and launch the new emulator

关于截断的init: Cou...错误

That truncated error usually ties back to the emulator failing to initialize properly due to the Quick Boot incompatibility or resource issues. Fixing the above points should resolve this as well.

Give these steps a try one by one—start with disabling Quick Boot first since that's the direct warning you're getting. Let me know if you still run into issues!

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.21 07:05:27