For some time now, IntelliJ always shows the "Sync...
# intellij
s
For some time now, IntelliJ always shows the "Sync with Gradle" hover icon for me (e.g. on this project). Even after syncing, the icon keeps popping up again, so the project model seems to never be in sync with Gradle. Is this a know problem?
➕ 1
o
Did you add this custom property?
Copy code
gradle.ide.support.future.agp.versions=true
IIRC, I'm experiencing the situation since adding that, also with the IDE claiming "sync failed" while Gradle says "BUILD SUCCESSFUL".
s
Nope, no such property is set. I have a hunch that it started with some Gradle or IntelliJ IDEA update, but I ignored the issue for too long to remember when exactly is started.
o
Maybe as well be a coincidence in my case. Does your IDE also complain about "sync failed"? Are you on stable or EAP?
s
No complaints from the IDE. It's just that I never reach a synched state. I'm on the stable channel.
t
Hi @Sebastian Schuberth, could you please report this in the IDEA project on YouTrack? Please include your IDE build (Help | About), Gradle version, and idea.log collected right after the icon reappears. Also, does the icon reappear without any changes to the build files? Thanks!
s
Also, does the icon reappear without any changes to the build files?
Yes, it does. I can do a sync, wait for it to complete, and then after making no changes at all, the icon always reappears. I'll try to find the time to make a report.