What went wrong:
A problem occurred configuring project ':app'.
Failed to notify project evaluation listener.
com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Get more help at https://help.gradle.org
This is fixed on master. You can use 9.0.0-SNAPSHOT for now.
thanks for reply, but after I use 9.0.0-SNAPSHOT, it reports java.lang.NullPointerException
I'm using kotlin, so the code is as below in app gradle:
implementation "com.jakewharton:butterknife:$butterknife_version"
kapt "com.jakewharton:butterknife-compiler:$butterknife_version"
and as below in project gradle:
ext.butterknife_version = '9.0.0-SNAPSHOT'
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "com.jakewharton:butterknife-gradle-plugin:$butterknife_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
Most helpful comment
thanks for reply, but after I use 9.0.0-SNAPSHOT, it reports java.lang.NullPointerException
I'm using kotlin, so the code is as below in app gradle:
implementation "com.jakewharton:butterknife:$butterknife_version"
kapt "com.jakewharton:butterknife-compiler:$butterknife_version"
and as below in project gradle:
ext.butterknife_version = '9.0.0-SNAPSHOT'
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "com.jakewharton:butterknife-gradle-plugin:$butterknife_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}