How to delete Android emulators and system images
Each emulator (AVD) keeps its own data disk and snapshots, and each Android version you have tried leaves a system image in the SDK. Delete them through Android Studio or the SDK tools, not by hand inside the SDK folder.
Two places to look
- Emulators (AVDs):
~/.android/avdon macOS/Linux,%USERPROFILE%\.android\avdon Windows (ANDROID_AVD_HOMEoverrides) - System images:
<sdk>/system-images. Default SDK:~/Library/Android/sdk(macOS),~/Android/Sdk(Linux),%LOCALAPPDATA%\Android\Sdk(Windows)
Android Studio (easiest)
Device Manager → the ⋮ menu next to a device → Wipe Data (keeps the device, drops its data and snapshots) or Delete.
For system images: Settings → Languages & Frameworks → Android SDK → SDK Platforms → Show Package Details, then untick images you no longer use.
Command line
emulator -list-avds avdmanager list avd avdmanager delete avd -n Pixel_8_API_34 sdkmanager --list_installed sdkmanager --uninstall "system-images;android-34;google_apis;arm64-v8a"
Same commands on Windows (avdmanager.bat, sdkmanager.bat). Use the exact names from the list commands.
Don’t delete the SDK folder
Gradle builds need the platforms and build-tools inside the SDK. Remove old pieces with the SDK Manager. Gradle’s own cache is a separate topic: clear the Gradle cache.
Measure with devdisk
devdisk is a free, read-only scanner. It lists ~/.android/avd and the Android SDK under Review first, since emulator data may hold test accounts or app state you want. It never deletes anything; it only shows sizes and writes a cleanup script you read and run yourself.
curl -fsSLO https://disk.sadana.app/devdisk.py && python3 devdisk.py
iwr https://disk.sadana.app/devdisk.py -OutFile devdisk.py; py devdisk.py
Want one-click cleanup?
A planned devdisk desktop app for Mac and Windows: live treemap, cleanup that moves files to the Trash, scheduled scans. One email when it launches, with an early-supporter price. Your address is used only for that, and every email has an unsubscribe link.
FAQ
Does deleting an AVD delete its system image?
No. System images are shared between emulators and live in the SDK. Uninstall them separately.
Wipe Data or Delete?
Wipe Data keeps the device definition but drops its data and snapshots. Delete removes the emulator entirely.
Does devdisk delete emulators?
No. It is read-only.