File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,15 @@ git clone --recursive https://github.com/Infomaniak/realm-kotlin.git
2929Otherwise, you might encounter puzzling CMake compilation or runtime errors,
3030even if the prerequisites specified above are fulfilled.
3131
32+ #### Troubleshooting Gradle sync issues
33+
34+ If you get weird errors about no cmake found when trying to perform Gradle try these steps:
35+
36+ 1 . Ensure the ` cmake ` command is recognized in the terminal (if not add your local cmake to the PATH)
37+ 2 . Kill all ` java ` processes on your machine, to have no remaining stale Gradle daemon
38+ 3 . Run ` ./gradlew pTML ` (will run ` publishToMavenLocal ` ), this will use the local ` cmake `
39+ 4 . Try to perform Gradle sync, this should reuse whatever was done through CLI.
40+
3241### Windows support
3342
3443The repository can be built on Windows, although only for the JVM and Android targets. Beware of the following requirements:
You can’t perform that action at this time.
0 commit comments