Image credit: Make your build.gradle great again
My team has recently had some interesting build issues. Here's a paraphrased quote from one team member:
I had issue with updating a JAR - project did not see classes because file name was changed. I tried rebuild, removing
/buildfolders manually, invalidate caches etc - nothing helped. Then I cleared the
user-home\.gradle\cacheswhich resolved the issue
I actually did fix my machine this morning...I deleted all of the
user-home\<AS settings path>,
Android Studio, and
.gradle. Seems like the nuclear option worked 🙂 I swear I did that the other day without luck
It may be worth mentioning that both of these teammates use Windows, while I use Linux, and as such they were basically on their own trying to resolve their build problems.
So what are your experience with building your Android projects? When has Gradle let you down? What do you wish Gradle would do for you?