1

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'
Zoe stands with Ukraine
  • 25,310
  • 18
  • 114
  • 149
Dmarp
  • 208
  • 1
  • 3
  • 12
  • Please include all of your code in order to attempt implementing the AppGlideModule. – Adam Hurwitz Aug 10 '18 at 17:17
  • People finding this from Google, try this: https://stackoverflow.com/questions/49901629/glide-showing-error-failed-to-find-generatedappglidemodule – Milk Jun 28 '19 at 08:51
  • Possible duplicate of [Glide showing error: Failed to find GeneratedAppGlideModule](https://stackoverflow.com/questions/49901629/glide-showing-error-failed-to-find-generatedappglidemodule) – Milk Jun 28 '19 at 08:51

3 Answers3

1

Remove apply plugin: 'kotlin-kapt' in build.gradle.

It solved my problem!

And if your project is kotlin,try replace "annotationProcessor" to "kapt"

lzy187
  • 11
  • 3
0

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'
}
Ridha Rezzag
  • 2,973
  • 26
  • 36
-1

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'
Shivam Oberoi
  • 1,422
  • 1
  • 8
  • 16