Android项目Kotlin异常处理

Java Code Examples for org.intellij.lang.annotations.JdkConstants.ListSelectionMode

解决方案:
app/build.gradle
configurations {
cleanedAnnotations
compile.exclude group: 'org.jetbrains' , module:'annotations'
}

Kotlin runtime异常

解决方案:
app/build.gradle
头部:
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
dependencies:
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"

你可能感兴趣的:(Android项目Kotlin异常处理)