I got an error when I add the line "apply plugin: 'com.jakewharton.butterknife'" in my gradle file.But when I changed the version to 8.5.1 it worked well.
the error as below:
Unable to find method 'com.android.build.gradle.api.BaseVariant.getOutputs()Ljava/util/List;'.
Possible causes for this unexpected error include:
This has already been fixed on master. You can use the 9.0.0-SNAPSHOT version if you need the latest features and functionality of the library with AGP 3.1 or newer.
Ok,Thank you very much!
@JakeWharton 9.0.0-SNAPSHOT not found. how to use it? Can you give a demo?
@JinJieGu
æ·»åŠ ä»“åº“ maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
\===================================================
add maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
Most helpful comment
@JinJieGu
æ·»åŠ ä»“åº“
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }\===================================================
add
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }