3rd-party Gradle plug-ins may be the cause
升级过程
1. Change gradle plugin version to 3.1.2
2. Change Kotlin version to 1.2.30
3. Then Android studio changed gradle wrapper to version 4.4
修改之后build
Folder D:\AndroidProjects\app\build\generated\source\kaptKotlin\debug
Folder D:\AndroidProjects\app\build\generated\source\kaptKotlin\release
3rd-party Gradle plug-ins may be the cause
因为 dataBinding 用了 apply plugin: 'kotlin-kapt'
所以要添加
kapt {
generateStubs = true
}
另外要注意 Android studio 3.1.2 build tools version is 27.1.1
所以support liberty 也要改相应版本,不然编译会遇到好多问题