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
  • 27,060
  • 21
  • 118
  • 148
Dmarp
  • 208
  • 1
  • 3
  • 13
  • Please include all of your code in order to attempt implementing the AppGlideModule. – AdamHurwitz 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

2

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

It solved my problem!

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

lzy187
  • 41
  • 5
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
  • 3,672
  • 1
  • 34
  • 39
-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,447
  • 1
  • 9
  • 18