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

前端 未结 6 1109
粉色の甜心
粉色の甜心 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:30

    Update your kotlin version to the latest:

    ext.kotlin_version = '1.1.2-4' //currently it's the latest version
    

    Then you may face some more errors, so before syncing again, make sure that your buildToolsVersion is "26.0.2" or higher.

提交回复
热议问题