Using AndroidStudio to develop mobile apps requires you to always have an updated installation of Gradle, doing so on a Slackware system could lead to quite a lot of manual work. To help me in the process i created a small tool that on its own downloads and makes a Gradle Slackware package (thanks to these SlackBuilds). To use …
Tag Archives: gradle
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 …