Kotlin unresolved reference in IntelliJ

后端 未结 20 1413
太阳男子
太阳男子 2020-12-01 08:47

I started off with the tutorial for learning Kotlin in IntelliJ.When I tried running the example i.e

fun main(args: Array) {
 prin         


        
20条回答
  •  时光取名叫无心
    2020-12-01 09:16

    Happened to me today.

    My issue was that I had too many tabs open (I didn't know they were open) with source code on them.

    If you close all the tabs, maybe you will unconfuse IntelliJ into indexing the dependencies correctly

提交回复
热议问题