on-internet
← Community

Unresolved references for Kotlin (JVM) Standard Library Elements

Stack Overflow ·

After adding gradle to an existing Kotlin project in IntelliJ, I started having issues with references to some standard library elements. For instance, Kotlin String type is recognized, but the mutableMapOf is giving me Error:(11, 60) Kotlin: Unresolved reference: mutableMapOf another is: Error:(9, 78) Kotlin: Unresolved reference: Array during compilation. They are marked red in the IDE, as well (not isolated to only compilation) Another error that appears in IntelliJ is Kotlin not configured, with no options to configure Kotlin Here is my gradle build file: apply plugin: 'kotlin' group = "co

Comments

Sign in or sign up to comment and upvote.

No comments yet.