添加glide依赖遇到的问题

添加glide依赖 implementation 'com.github.bumptech.glide:glide:4.11.0' 编译能通过可以运行在模拟器上,但是添加annotationProcessor 'com.github.bumptech.glide:compile:4.11.0'后,编译能通过,但是运行的时候报错

img

repositories {
  google()
  mavenCentral()
}

dependencies {
  implementation 'com.github.bumptech.glide:glide:4.13.0'
  annotationProcessor 'com.github.bumptech.glide:compiler:4.13.0'
}

img

是按照官方的方法添加的依赖吗

可以尝试一下在mvnrepository下载glide库,导入到本地工程libs目录下