从 Java 转向 Kotlin,使用 Glide,但是 GlideApp 却无法生成

时间:2019年7月29日21:53:28
解决办法:
把 dependencies 中的

dependencies {(http://www.amjmh.com/v/)
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
}
1
2
3
4
替换为

apply plugin: 'kotlin-kapt'
dependencies {
implementation 'com.github.bumptech.glide:glide:4.9.0'
kapt 'com.github.bumptech.glide:compiler:4.9.0'
}
————————————————

原文地址:https://www.cnblogs.com/hyhy904/p/11384647.html