- ERROR: The Android Gradle plugin supports only Butterknife Gradle plugin version 9.0.0-rc2 and higher.
The following dependencies do not satisfy the required version:
root project 'SmartQuality' -> com.jakewharton:butterknife-gradle-plugin:8.5.1
Affected Modules: app - Task :app:mergeExtDexDebug FAILED
AGPBI: {"kind":"error","text":"Static interface methods are only supported starting with Android N (--min-api 24): void butterknife.Unbinder.lambda0()","sources":[{}],"tool":"D8"}
FAILURE: Build failed with an exception.
- What went wrong:
Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Failed to transform file 'classes.jar' to match attributes {artifactType=android-dex, dexing-is-debuggable=true, dexing-min-sdk=16} using transform DexingTransform
Error while dexing.
详情请参考:https://blog.csdn.net/menwaiqingshan/article/details/86674109
网友评论