Search code examples
javagradlelibgdx

Gradle - "Changes are not tracked, unable determine incremental changes."


When running my LibGDX desktop project I sometimes get this error:

Changes are not tracked, unable determine incremental changes.

I've tried using Java 8 and 17. I'm using Gradle 7.4.2.

I've tried the changes mentioned here but they seem to be for a Kotlin project.

I'm struggling to find any more info on what is causing this.

What else can I try to resolve this?


Solution

  • This problem occurred for me because my project files were located within a OneDrive folder. To solve this issue; I right-clicked on my project folder in explorer and selected "Always keep on this device".

    --EDIT, 8/12/2022-- Longer term I've found actually that it didn't fully work and I ended up abandoning trying to keep it on OneDrive.