Blog / Sep 20, 2026 · 4 min read
Android Studio Is Eating 100 GB of Your Mac — Here's How to Stop It
Android Studio on a Mac is one of the fastest ways to reach “out of disk space” messages without a single funny meme to show for it. The IDE itself is reasonable — it’s the four silent gigabytes hogs it drags along that eat your SSD:
- AVD images — every emulator you’ve made keeps a full system image
- Gradle caches — every dependency’s every version, forever
- SDK platform tools — multiple API versions for projects long past
- Emulator data — snapshots and cold-boot images
A full Android dev setup routinely sits at 60–150 GB. Here’s where it all lives and how to clear it without breaking your builds.
Where be the gigabytes?
1. AVDs and emulator data (~/.android/avd/)
Every virtual device can eat 4–20 GB (system image + user data + snapshots). You may have six, need two.
du -sh ~/.android/avd/*
ls ~/.android/avd
The <name>.avd folders are the emulator’s disk. Delete the ones you don’t use from the AVD Manager (Device Manager in Studio) — or directly with avdmanager delete avd -n <name> — don’t blind-delete the folders if you want Studio’s list to stay clean.
2. SDK system images (~/Library/Android/sdk/system-images/)
Each API level of android-XX platform image can be 2–6 GB. Old API 28/29/30 images you compiled for in 2022 are pure dead weight.
du -sh ~/Library/Android/sdk/system-images/*
Remove old ones via SDK Manager (uncheck the API, Apply) — it uninstalls cleanly.
3. Gradle cache — the real whale (~/.gradle/)
Gradle caches every version of every dependency: caches, wrapper, daemon, vcs-1. That’s often 15–40 GB that only grows.
du -sh ~/.gradle/*
Safe cleanup: you can clear ~/.gradle/caches — Gradle re-downloads what a project needs on the next build. It costs a slower first build, that’s all. Same for ~/.gradle/daemon (old daemons you’re not using).
rm -rf ~/.gradle/caches
Safe to delete? Yes — Gradle regenerates per-project on next sync. Your project code, settings and lockfiles are untouched.
4. Android Studio logs & indexes (~/Library/Application Support/Google/AndroidStudio*/system/)
Logs, cached indexes and tmp can sit at several GB. Trash it with Studio closed:
du -sh ~/Library/'Application Support'/Google/AndroidStudio*/system/caches
du -sh ~/Library/'Application Support'/Google/AndroidStudio*/system/log
Studio rebuilds indexes on next launch — takes a minute, saves you gigabytes.
The full reclaim checklist
- Device Manager → delete AVDs you don’t use (esp. anything with snapshots).
- SDK Manager → uninstall old API system images.
rm -rf ~/.gradle/caches(Gradle re-downloads on demand).- Delete old Android Studio index/log caches.
- Then hit the other Android-adjacent hog: iOS simulators under
~/Library/Developer/CoreSimulator— if your team does both, these are often the same size again. Our simulator cleanup guide covers Xcode’s DerivedData in the same pass.
If you use Flutter, add ~/.pub-cache, ~/.dartTool and build/ dirs to the sweep — same pattern: re-downloadable, disk-hogging.
Why it comes back
Because you keep opening projects. The trick is not to rage-empty everything — it’s that old Android SDK versions and Gradle caches are re-downloadable, while your ~/Projects Android sources are the only irreplaceable part. Treat caches like caches: rebuildable, not precious.
See the whole map first
Manually chasing AVDs → SDK → Gradle is a chore you’ll skip. A disk analyzer sorts the pain: it shows the top 40 folders by byte count in one treemap, so ~/Library/Android/sdk and ~/.gradle jump straight to the top, along with Docker.raw, DerivedData and node_modules hiding off-screen.
DiskInsight renders your disk by actual bytes, marks what’s safe to reclaim, and stages everything you pick to the macOS Trash — reversible, reviewable, never a surprise rm -rf. 100% local, no telemetry, one-time price.
The 30-second version
Android Studio’s bloat is cache + images, not your code. ~/.gradle/caches is the whale. Delete old AVDs via Device Manager, uninstall old SDK images via SDK Manager, and rm -rf ~/.gradle/caches — you lose rebuild time, never code.
Get DiskInsight Pro · $9.99 one-time and watch the Android blob shrink on the first scan. Full guide: how to free up disk space on your Mac.