Intellij not recognizing gradle dependencies

1 day ago 1
ARTICLE AD BOX

It is the same problem like here. I tried everything recommended:

rm -rf ~/.gradle/caches

Invalidate caches and restarted/rebuilt

Reloaded all gradle projects with the gradle reload button

Built from the command line with ./gradlew build (which works, but still the code wont compile because intellij doesn't recognize imports as said)

Uninstall Intellij and removed the directories used by the IDE to store settings, caches, plugins and logs, then reinstalled

Deleted the .idea, .gradle and build folder and reopened the project

Even played around with the memory in case that gradle cannot work properly

Nothing works. I really don't know what to do anymore. I'm considering to switch to eclipse, tho that would be quite a big step for such a "simple" problem. Any help is very appreciated!

Read Entire Article