https://kotlinlang.org logo
v

vanniktech

05/16/2022, 4:08 PM
Thanks @Sebastian Sellmair [JB] for hearing us out and explaining some more technical challenges. Regarding the gradle sync being retriggered when reopening the project, I first noticed this in Android Studio: https://issuetracker.google.com/issues/232112721 Then I switched to IntelliJ, which has the same issue with a different underlying reason though: https://youtrack.jetbrains.com/issue/IDEA-294146/ Then I've tried deleting
.idea
&
.gradle
directories and then re-opening the project - but now no modules are listed at all: https://youtrack.jetbrains.com/issue/IDEA-294148/
fist bump 1
2
💯 2
s

Sebastian Sellmair [JB]

05/16/2022, 4:12 PM
Processed and enqueued the first issue ☺️ Regarding deleting .idea folders: A resync after deleting those folders is required! If this does not work for you, we can also jump into a private call and troubleshoot together 👍
v

vanniktech

05/16/2022, 4:25 PM
How can I trigger the resync? I've tried reopening the project multiple times but I'm stuck. Would definitely appreciate the private call
e

eygraber

05/16/2022, 4:35 PM
There should be a gradle tool window (for me it's on the right hand gutter of the IDE). Opening it should show a list of your Gradle projects. Right clicking on the root one should show a
Reload Gradle Project
option (it might be named differently). That should start syncing.
v

vanniktech

05/16/2022, 4:41 PM
Okay that did indeed work, but then I wonder, should not this happen automatically?
e

eygraber

05/16/2022, 4:53 PM
It used to, but recently I've had to do it manually.
Looks like in Intellij 2022 a notification bubble pops up asking to reload the gradle project
v

vanniktech

05/16/2022, 9:16 PM
That's not the case for me with
2022.1.1
. I also wrote my question into the issue