I deleted all the existing artifacts (artifacts and metadata) Gradle has downloaded using:
rm -rf $HOME/.gradle/caches/
My issue is that now Android Studio cannot resolve any symbols from my dependencies. Eg. RecyclerView shows up as red and I cannot view it's source.
Things I have tried unsuccessfully:
I was able to fix the issue by creating a copy of the project, but this is not an acceptable solution. I use the command to clear the cache several times a day and cannot be constantly creating copies.
.idea.gradle*.iml filesIf you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With