Kotlin Plugin for Android threw an uncaught java.lang.IllegalStateException


#1

I had update Android Studio 3.0 Beta 3, but then saw the version was removed.
Kotlin plugin has version 1.1.4-release-Studio3.0-3, which is for that issued version.
And now I always get “Kotlin not configured” with threw IllegalStateException.

Here is my current version of plugins:

buildscript {

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath "com.android.tools.build:gradle:3.0.0-beta2"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.1.4-3"
        //...
    }
 }

If I will use current version of Kotlin (1.1.4), it will says that I should update version with compatible version of Kotlin Plugin.


#2

Problem was with version “1.1.4-3”. I have changed to “1.1.4-2” and it works right now. Maybe it also related to Android Studio beta version (Beta 3 -> 1.1.4-3), I don’t know.


#3

What exactly does the exception say?


#4

ext.kotlin_version = '1.1.51’
studio version = 3.0

i was just going from moving from one file to another it just shown this error.