具体报错信息:
The given artifact contains a string literal with a package reference 'android.support.v4.content' that cannot be safely rewritten. Libraries using reflection such as annotation processors need to be updated manually to add support for androidx.
产生这个错误的原因是由于项目引用了AndroidX的依赖包,但是下面butterknife这两个依赖的内部是引用之前的 support 包实现的,因此产生矛盾
只需要更改以上的依赖到最新版本即可,如将8.6.0改为10.0.0即可