I am getting error while using Glide 4.10.0
This is the error
java.lang.IllegalStateException: GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation.
Have you changed annotationProcessor
dependency:
implementation 'com.github.bumptech.glide:glide:4.10.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
Also, it is critical that implementation & annotationProcessor version number is the same. Gradle will update the first automatically but not the second.
Have you added proguard rules as follow:
-keep public class * implements com.bumptech.glide.module.GlideModule
-keep public class * extends com.bumptech.glide.module.AppGlideModule
-keep public enum com.bumptech.glide.load.ImageHeaderParser$** {
**[] $VALUES;
public *;
}
Hope it will helps you. Thank you.