Reputation: 5614
I opened up my project today as usual and discovered that my project wasn't synced with Gradle files, and the option to sync project with Gradle files is disabled. This issue has appeared twice now, I don't really know what I did the first time fixed it.
I don't think I've touched any files or settings before this happened.
Update: Seems like "Invalidate cache and restart" fixes the problem, but I'd still like to know why this happens? Also, recently this happens almost after every startup of Android Studio, I have to restart every time to make it work.
Upvotes: 3
Views: 1439
Reputation: 5614
Seems like "Invalidate cache and restart" fixes the problem, but I'd still like to know why this happens? Also, this happens very often now, basically every day I have to invalidate the cache and restart, it's pretty annoying.
Update: after updating to Android Studio 3.4, it seems like the problem is gone.
Upvotes: 2