Failed to find GeneratedAppGlideModule

北慕城南 提交于 2019-12-14 03:58:42

问题


Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored

In Gradle

compile 'com.github.bumptech.glide:glide:4.1.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.1.1'

回答1:


If you use Gradle you can add a dependency on Glide using either Maven Central or JCenter. You will also need to include a dependency on the support library. check documentation here docs

repositories {
  mavenCentral()
  maven { url 'https://maven.google.com' }
}

dependencies {
    compile 'com.github.bumptech.glide:glide:4.8.0'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
}



回答2:


Do this-:

compile 'com.github.bumptech.glide:glide:3.7.0'

or

compile 'com.github.bumptech.glide:glide:4.0.0'

If you are using android 3.0 then use this-:

implementation 'com.github.bumptech.glide:glide:4.5.0'


来源:https://stackoverflow.com/questions/48220260/failed-to-find-generatedappglidemodule

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!