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

首次运行Android SDK模拟器报错‘Cold boot: snapshot doesn't exist’解决方法

Fixing "Cold boot: snapshot doesn't exist" in Android Studio Emulator

Hey there, let's get that emulator up and running smoothly! This error pops up when the emulator's snapshot file is missing or corrupted—totally normal for your first time setting things up, so no need to stress. Here are a few straightforward fixes to try:

Quick Fix: Wipe Emulator Data

This is the easiest and most reliable solution for most cases:

  • Close the emulator window completely (make sure it's not running in the background).
  • Open the AVD Manager in Android Studio (look for the phone icon in the toolbar).
  • Find the emulator device that's giving you trouble, click the three-dot menu on its right, and select Wipe Data.
  • Once the wipe finishes, restart the emulator. It'll perform a fresh cold boot and generate a new snapshot automatically.

Advanced Fix: Manually Delete Snapshot Files

If the first method doesn't work, you can clean up the corrupted snapshot files manually:

  • Navigate to your emulator's storage directory:
    • Windows: C:\Users\<YourUsername>\.android\avd\<EmulatorName>\.avd\snapshots
    • Mac/Linux: ~/.android/avd/<EmulatorName>/.avd/snapshots
      (Replace <YourUsername> and <EmulatorName> with your actual username and the name of your emulator.)
  • Delete all files and folders inside the snapshots directory (or just delete the entire snapshots folder).
  • Go back to AVD Manager and restart the emulator—it'll create a new, working snapshot from scratch.

Prevent Future Issues

To avoid this error down the line, you can set your emulator to always cold boot instead of relying on snapshots:

  • In AVD Manager, click the pencil icon to edit your emulator device.
  • Scroll down and click Show Advanced Settings.
  • Find the Boot option dropdown menu and select Cold boot.
  • Save your changes. Now the emulator will skip snapshot checks and start fresh every time.

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.05.19 10:22:04