Program type already present: org.intellij.lang.annotations.Flow

前端 未结 4 956
别跟我提以往
别跟我提以往 2021-01-03 20:17

I am getting this error whenever I try to run a program in Kotlin. My gradle files are like this: Project Level Gradle

buildscript {
    ext.kotlin_version =         


        
4条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-03 20:34

    Please add following line in your App level build.gradle.

    configurations {
        cleanedAnnotations
        compile.exclude group: 'org.jetbrains' , module:'annotations'
    }
    

提交回复
热议问题