Intellij Kotlin Project
Answered
I create a new Kotlin JVM | IDEA project. I create a new Kotlin file. I create a main function with nothing in it and it compiles successfully. When I add println("Hello World") to the main the compile fails with a message unresolved reference println.
I would think that intellij would know how to create a small Kotlin project. It has the java 8 SDK in project structure and the Kotlin libraries.
How do I fix this
Please sign in to leave a comment.
Please set SDK for project/module in "Project Structure".