Developer IDEs
Clear Android Studio Cache on Mac
To clear the Android Studio cache, open File > Invalidate Caches inside the app and restart when asked. This clears the IDE's own cache, but it does not remove SDK packages, emulator images or the Gradle cache.
Clear the Android Studio cache without guessing
Android Studio data usually takes 10 GB – 80 GB on a Mac. The free scan shows the exact size on your Mac before you change anything.
Free scan · No account · Nothing is deleted without your OK · Moves to the Trash first · macOS 14+
OptiClear is a Mac app. Copy this page's link and open it on your Mac.
Email me the link- Application
- Android Studio
- Typical data size
- 10 GB – 80 GB
- Category
- Developer IDEs
- File Location
~/Library/Android/sdk
Clear it from inside Android Studio first
The safest way is the option built into the app: File > Invalidate Caches, then restart; Build > Clean Project cleans only the current project. Neither removes SDK packages, emulator images or the Gradle cache in ~/.gradle.
Android Studio cache folders you can clear
These folders are rebuilt automatically, so removing them does not touch your own files.
Locations are the standard macOS folders Android Studio uses; some appear only after you use the matching feature.
What the Android Studio cache holds and when clearing helps
Specific to Android Studio
The cache is rebuildable working data that the app creates for itself, so clearing it does not remove your projects. Clearing it helps when Gradle sync is slow or fails oddly, or when the emulator will not boot a device. Most of the space the app takes up is elsewhere, in the SDK, emulator images and Gradle folders, and this step does not shrink those. Do not remove anything by hand unless you have confirmed that it is cache and not your own data.
What changes after you clear the Android Studio cache
After you clear the cache and restart, the app rebuilds it automatically as you work, so you do not need to recreate anything by hand. The SDK packages, emulator images and Gradle cache stay where they are. Your project files also stay where you saved them. If Gradle sync still fails after that, this step has not fixed the cause, and you should look at the problem separately.
0 of 3 done
- Account and sync
- A Google account is optional and only used for sign-in features such as Firebase or AI assistance inside the IDE.
Try it without risk
- Download and scan for freeSee every Android Studio file and its size. No account needed.
- Clean free for 7 daysStart the 7-day free trial of the yearly plan inside the app.
- Keep it or cancelCancel in your App Store settings at least 24 hours before the trial ends and you won't be charged.
After the free trial, Pro costs $39.99 per year in your country's App Store; cancel any time.