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’