Gradle cache is located at
- On Windows:
- On Mac / UNIX:
You can browse to these directory and manually delete it or run
rm -r $HOME/.gradle/caches/
on UNIX system. Run this command will also force to download dependencies.
Clear the Android build cache of current project
NOTE: Android Studio’s
File > Invalidate Caches / Restart doesn’t clear the Android build cache, so you’ll have to clean it separately.
On Mac or UNIX:
This article Put your Android Studio on a diet gives more details on Android Studio caches