Glide 版本 4.11.0 出现 "couldn't find compiler.jar" 错误

Glide version 4.11.0 is giving "couldn't find compiler.jar" error

我们在 Android 项目中使用 glide:4.11.0。直到上个月它工作正常。今天,当我尝试为 kindle 设备构建我们的应用程序时,出现以下错误。

Could not find compiler.jar (com.github.bumptech.glide:compiler:4.11.0). Searched in the following locations: https://jcenter.bintray.com/com/github/bumptech/glide/compiler/4.11.0/compiler-4.11.0.jar

我做了干净的构建,更新了 Android Studio 到 4.1.1,使文件缓存无效。没有解决此问题的方法。

下面是 build.gradle 文件中与 glide

相关的条目
dependencies {
    implementation 'com.github.bumptech.glide:glide:4.11.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
}

直到上个月它都运行良好。谁能帮我解决这个问题。

我唯一做的就是将 mac 更新为 Catelina。 Android工作室版本为4.1.1

不确定是什么问题。从用户主目录中删除 .gradle 目录解决了这个问题。