I am trying to load an image using glide but somehow I can not load the image using glide. As it shows following error:
Failed to find GeneratedAppGli
I have faced this issue with Glide:4.9.0 with AndroidX
solved it like this
In your gradle.properties
android.useAndroidX = true
android.enableJetifier=true
In your build.gradle
//Glide dependency
implementation 'com.github.bumptech.glide:glide:4.9.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
Then add your CustomGlideModule
@GlideModule
public class CustomeGlideModule extends AppGlideModule {}
The final step generates the GlideModule
Build >> Make Project and you should see the generated module in your build folder