对butterknife的版本要求
Android Studio3.3配置butterknife对版本有要求,9.0.0-r2以上
但butterknife10.0.0只支持Androidx
As mentioned in the change log, 10.0.0 only supports AndroidX-enabled projects. If you have not yet migrated to AndroidX you need to use 9.0.0 for now.
如果没有使用androidx配置butterknife10.0.0会报这个异常
[androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory)
这里的配置没有使用androidx,是android
gradle脚本配置
project脚本
buildscript