1、android5.0以下手机不执行Dalvik字节码编译文件。
(extends MultiDexApplication)
(application的attachBaseContext方法中执行MultiDex.install(this);)
2、android support库迁移到androidX。(https://developer.android.google.cn/jetpack/androidx/migrate)
修改compileSdkVersion 28以上。
3、androidX中使用butterknife10.1.0;
需要在app的build.gradle中指定jdk版本 compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8 }
4、