Android Studio & Gradle Are Eating Your Mac's Disk (2026)
Android Studio and Gradle are among the heaviest disk users on a Mac: Gradle caches (~/.gradle/caches), the Android SDK and system images/AVDs (~/.android, ~/Library/Android), and per-project build folders routinely total 20–60 GB. Gradle caches, build folders and unused emulator images are rebuildable, so clearing the ones you don't need is safe.
Where it hides
| Source | Location | Safe to clear? |
|---|---|---|
| Gradle caches | ~/.gradle/caches | Yes — re-downloaded |
| Android SDK & system images | ~/Library/Android/sdk | Unused API levels/images |
| Emulators (AVDs) | ~/.android/avd | Yes — recreatable |
| Project build folders | app/build | Yes — rebuilt |
What's safe to clear
- Gradle cache:
rm -rf ~/.gradle/caches— rebuilds on your next build (biggest single win). - Old system images / API levels you no longer target — remove them in the SDK Manager.
- Unused AVDs — each emulator device is a multi-GB disk image; delete the ones you don't use.
- Project
build/folders — rebuilt automatically.
Sweep it with the rest
Android tooling sits alongside the usual dev pile. MacCleaner surfaces Gradle and emulator storage with real sizes next to Xcode, Docker and Homebrew — reclaim the whole thing in one pass, recoverable until you empty.
Frequently asked questions
Is it safe to delete the Gradle cache?
Yes. ~/.gradle/caches holds downloaded dependencies and build state that Gradle re-fetches and rebuilds. Your next build is just slower.
How much space does Android Studio use on a Mac?
With Gradle caches, the SDK, system images and emulators, 20–60 GB is normal on an active machine — and most of it is rebuildable.
Can I delete Android emulators to save space?
Yes. Each AVD is a multi-gigabyte disk image. Delete unused ones in the Device Manager; you can recreate them anytime.
Reclaim the space in two taps
MacCleaner scans read-only, shows every file before anything is touched, marks the safe groups, and lets you choose Trash or permanent. Free for up to 500 MB of cleanup a day.
Download for Mac