IntelliJ does not resolve Kotlin libraries
Answered
I have the latest version of Kotlin plugin and the latest version of IntelliJ installed. I'm able to run UnitTests inside IntelliJ without any problems. But for some reason, IntelliJ does not recognize the default Kotlin library.
I tried rebuilding the entire project but it didn't work, I think that all my configurations are correct, but I don't know what do I need to change to make this work.

Please sign in to leave a comment.
See if deleting the System directory: https://www.jetbrains.com/help/idea/tuning-the-ide.html#system-directory helps.
If the issue persists, please upload the logs (Help | Collect Logs and Diagnostic Data) and the sample project at https://uploads.jetbrains.com and provide the upload ID here.
Deleting the System directory solved the problem. Thanks for helping me with this