1、nullpoint
针对此问题,只需将annotationProcessor com.jakewharton:butterknife-compiler:x.x.x
改为apt com.jakewharton:butterknife-compiler:x.x.x即可
kotlin项目:
plugins {
id ‘com.android.application’
id ‘kotlin-android’
id ‘kotlin-kapt’
}
2、https://blog.csdn.net/lky199024/article/details/75309776
3、如果配置都正常有可能是转AndroidX之后,使用了AppcompatActivity,但是manifest文件的style不是Appcompat