I started off with the tutorial for learning Kotlin in IntelliJ.When I tried running the example i.e
fun main(args: Array) {
prin
I tried everything: clean build folders, run gradle clean build, execute AS invalidate cache(x2), reinstall Kotlin plugin, restarting pc.
But in the end after doing all this it still didn't work, but doing also removal from project build.gradle of this line: apply plugin: 'kotlin-android-extensions', gradle sync and then re-adding worked