Android emulators on a Mac: AVD data, snapshots and system images you no longer use

By the Zofle team · 12 November 2026 · 4 min read

Android emulator storage on a Mac: AVD user data and snapshots per device, plus shared SDK system images

Android emulators take space in two separate places, and cleaning one doesn't clean the other:

PartWhereWhat it holds
AVD (one per virtual device)~/.android/avd/<name>.avd plus a <name>.ini pointerInstalled apps, settings, the emulated SD card and Quick Boot snapshots
System images (shared)~/Library/Android/sdk/system-images/The Android OS image for each API level and variant you downloaded

Deleting a device in Device Manager removes its AVD folder. It does <b>not</b> remove the system image it used. That's how images pile up: you try Android 15, 16 and a Play Store variant, delete the devices, and the images stay.

What we found on our Mac

Our dev Mac had one <code>.ini</code> file left in <code>~/.android/avd</code>, pointing to an AVD folder that no longer existed, and one system image still installed: <code>android-36.1/google_apis_playstore/arm64-v8a</code>, 2.3 GB, almost all of it <code>system.img</code>. No device used it.

Measure it (read-only)

bash
# Each virtual device and its size
ls ~/.android/avd/
du -sh ~/.android/avd/*.avd 2>/dev/null

# Which system image each device uses
grep -H "^image.sysdir.1" ~/.android/avd/*.avd/config.ini 2>/dev/null

# Installed system images and their sizes
du -sh ~/Library/Android/sdk/system-images/*/* 2>/dev/null

# Inside one AVD: user data and snapshots are usually the big parts
du -sh ~/.android/avd/*.avd/{userdata-qemu.img*,sdcard.img*,snapshots} 2>/dev/null
  • An image that no config.ini mentions is not used by any device.
  • A .ini with no matching .avd folder is a leftover pointer; it's a few bytes, but it can make a device show up broken in Device Manager.

Clean an AVD from Device Manager

  1. In Android Studio, open Device Manager (View > Tool Windows > Device Manager, or More Actions > Virtual Device Manager on the Welcome screen).
  2. Stop the emulator first if it's running (Menu > Stop).
  3. Wipe Data returns the device to factory state: installed apps and their data go, the device stays. Good when user data has grown large.
  4. Delete removes the device and its folder. Show on Disk opens the folder in Finder if you want to check its size first.

Snapshots: if you never use Quick Boot, set the device's Boot option to <b>Cold boot</b> in its settings (Show Advanced Settings) so it stops saving a snapshot on every exit.

Remove system images you don't need

In Android Studio: <b>Settings &gt; Languages &amp; Frameworks &gt; Android SDK</b>, tab <b>SDK Platforms</b>, tick <b>Show Package Details</b>, untick the images you don't use and click Apply. Or from Terminal with the SDK's own tool:

bash
# List what is installed
sdkmanager --list_installed | grep system-images

# Remove one image (use the exact name from the list)
sdkmanager --uninstall "system-images;android-36.1;google_apis_playstore;arm64-v8a"

# Remove a device by name from the command line
avdmanager list avd
avdmanager delete avd -n "Medium_Phone"
  • Don't delete folders in sdk/system-images in Finder. The SDK keeps track of what's installed; uninstalling through it keeps that in sync.
  • Removing an image only means downloading it again (a few GB) if you need that API level later.
  • Newer SDKs mark sdkmanager and avdmanager as deprecated in favour of the android command-line tool; both still work, and Android Studio's screens do the same job.

Zofle, our free Mac app, measures big app folders like these and shows what each one is before you remove anything, so the cleanup goes through the app that owns the data first.

Download Zofle for Mac

Related

Sources

  • Android Developers: Create and manage virtual devices.
  • Android Developers: sdkmanager.
  • Android Developers: avdmanager.
  • Folder and image sizes read with du on our macOS dev Mac in November 2026; the commands above only list and measure, except the uninstall and delete lines you run on purpose.

Zofle Pro news

People signing up now will get Zofle Pro, with more features, for free when we launch it.

One email when it's ready. No spam, ever.