I'm getting this error even though my code compile...
# announcements
b
I'm getting this error even though my code compiles, I can even run my unit tests from the IDE. I'm using Android Studio 4.2 beta 6. I have another computer using the same version of AS and I don't get the error Any idea?
l
That's a classic case of "Invalidate and restart" and see what happens
b
Already did that, I reinstalled my JDK, reinstalled Android Studio, and of course, invalidate and restart. And Gradle clean
m
once I solved this by performing rm -fr ~/.gradle/cache (or where Gradle cache is on your box)
b
Yes I've also tried this
So I've fixed it by doing everything at once, removing .gradle folders in the project and at the root, invalidate caches and restart. Thanks everyone
🙌 1