kotlinandroid-jetpack-composeidefleetjetbrains-fleet

Fleet couldn't auto-reload changes from build files Error


in Linux (Debian 12.5) i installed Jetbrains Fleet, and downloaded a project compose android from kmp.jetbrains.com,

when i open the project from fleet and enable smart mode, it takes some times indexing the project, at the end i get error message that is:

Gradle: Couldn’t import project

Fleet couldn't auto-reload changes from build files

screenshot of the error notification

i tried to open a jetpack compose multiplatform project in fleet. i though it will work without problem, like in windows it works properly until i got that error in every gradle project i try to open


Solution

  • for my case in this problem, it was just the missing of jdk 17 was not installed, i has only the jdk 22. after i installed it and set it to JAVA_HOME everything's going well.

    sudo apt install default-jdk