Android emulators on a Mac: AVD data, snapshots and system images you no longer use
Android emulators take space in two separate places, and cleaning one doesn't clean the other:
| Part | Where | What it holds |
|---|---|---|
| AVD (one per virtual device) | ~/.android/avd/<name>.avd plus a <name>.ini pointer | Installed 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)
- An image that no
config.inimentions is not used by any device. - A
.iniwith no matching.avdfolder 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
- In Android Studio, open Device Manager (View > Tool Windows > Device Manager, or More Actions > Virtual Device Manager on the Welcome screen).
- Stop the emulator first if it's running (Menu > Stop).
- Wipe Data returns the device to factory state: installed apps and their data go, the device stays. Good when user data has grown large.
- 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 > Languages & Frameworks > 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:
- Don't delete folders in
sdk/system-imagesin 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
sdkmanagerandavdmanageras deprecated in favour of theandroidcommand-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 MacRelated
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.