Android Studio 3.0 - Unable to find method 'com.android.build.gradle.internal.variant.BaseVariantData.getOutputs()Ljava/util/List'

前端 未结 6 1113
粉色の甜心
粉色の甜心 2020-12-02 13:53

Trying to start a new Kotlin project with Android Studio 3.0 Canary 1 displays this error. Full trace:

Error:Unable to find method \'com.android.bui

6条回答
  •  死守一世寂寞
    2020-12-02 14:43

    In my case, the issue was caused because we were applying butterknife-gradle-plugin. Upgrading to 8.8.1 didn't fix the issue, but removing it certainly did.

    The build.gradle belongs to the application, so I don't even know why we are using that plugin (I'm new to the project)

提交回复
热议问题