07-20-2023, 10:08 AM
I started off with [this tutorial][1] for learning Kotlin in IntelliJ IDEA.
When I tried running the following example,
fun main(args: Array<String>) {
println("lol")
}
Build fails with the following error:
Error:(5, 5) Kotlin: Unresolved reference: println
This is the first time I am using IntelliJ. I have never worked on a Java project either. Am I missing something?
**Edit:** I have already seen [this other question][2], though it is not valid for my situation.
[1]:
When I tried running the following example,
fun main(args: Array<String>) {
println("lol")
}
Build fails with the following error:
Error:(5, 5) Kotlin: Unresolved reference: println
This is the first time I am using IntelliJ. I have never worked on a Java project either. Am I missing something?
**Edit:** I have already seen [this other question][2], though it is not valid for my situation.
[1]:
[To see links please register here]
[2]:[To see links please register here]