Anyone having issues with Intellij IDE not recognizing any java packages on K2? I can run, but everything is red.
(Everything works when K2 is disabled)
c
Cies
09/12/2024, 3:00 PM
no clue. somtimes when this happens i try:
Cies
09/12/2024, 3:01 PM
Copy code
1. In the Gradle tab (on the right), click the "recycle button" (top-left, in the "Gradle" menu,
a button with a tooltip saying "Reimport All Gradle Projects").
2. Do `File > Invalidate Caches / Restart` then pick `Invalidate and Restart` with no checkboxes checked.
3. Do `File > Invalidate Caches / Restart`, `Invalidate and Restart` with *the top two checkboxes* checked.
4. Restart you computer.
5. `Build > Rebuild project`, this takes a while.
6. Clean project specific Gradle and build caches with `rm -rf .gradle build` (start IntelliJ again after that).
7. Make a clean checkout and follow the steps of this README again (should not be needed).