Error:Unable to find method 'com.android.build.gradle.internal.variant.BaseVariantData.getOutputs()L

来源:互联网 发布:qq空间访客提取软件 编辑:程序博客网 时间:2024/06/16 00:12

android studio 3.0 canary3报错:

Error:Unable to find method
‘com.android.build.gradle.internal.variant.BaseVariantData.getOutputs()Ljava/util/List;’.
Possible causes for this unexpected error include:

  • Gradle’s dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
    Re-download dependencies and sync project (requires network)
  • The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.

解决方案:project build.gradle中更改 ext.kotlin_version版本号:

改为:ext.kotlin_version = ‘1.1.2-4’

阅读全文
0 0