Using Android Studio the directory used by the system to store temporary files (the default one is /tmp) could be filled by many (big) files, in order to limit this behaviour you can choose another directory to be used by the IDE. To do so you could launch the IDE every time with the following commands (in […]
Tag Archives: android studio
How to delete Gradle cache files
If, like me, you are having troubles compiling projects (also Android Studio ones) after having upgraded Gradle you can try to delete cache files. I’m assuming you are working on a Linux box and that your Android projects are saved inside ~/AndroidStudioProjects/ How to delete general caches:
1 2 |
find ~/.gradle -wholename '*/caches/*' -type d -maxdepth 2 -exec rm -r {} \; find ~/.gradle -wholename '*/daemon/*' -type d -maxdepth 2 -exec rm -r {} \; |
How to delete Android Studio caches:
1 |
find ~/AndroidStudioProjects/ -wholename '*/.gradle/*' -type d -maxdepth 3 -exec rm -r {} \; |
I […]