today i updata my kotolin from V1.0.2 to V1.0.4,when i run my project in AS2.2,it report me Error:Execution failed for task ‘:app:compileDebugKotlin’. > com/intellij/util/containers/EmptyIterator.I check gradle but have no idea about this.someone can help me ?
Finally I found the matter。
my kotlin setting in build.grale like this:
buildscript {
ext.kotlin_version = ‘1.0.2’
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-android-extensions:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
I miss it :ext.kotlin_version = ‘1.0.2’;
So after correcting it .my project goes right.
A small mistake confuse me all day.