In the new version of the Glide 4.3 I'm trying to use it but it crash whenever I use it and whatever context I passed to it.
this is the error showed to me
java.lang.AbstractMethodError: abstract method "void com.bumptech.glide.module.RegistersComponents.registerComponents(android.content.Context, com.bumptech.glide.Glide, com.bumptech.glide.Registry)"
this is my code I tried:
Glide.with(getApplicationContext()).
load(url)
.into(imageView);
and
Glide.with(getContext()).
load(url)
.into(imageView);
and it give me that warning
W/Glide: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on com.github.bumptech.glide:compiler in your application and a @GlideModule annotated AppGlideModule implementation or LibraryGlideModules will be silently ignored
and the code in lib in gradle
compile 'com.github.bumptech.glide:glide:4.3.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.3.1'
Update1 : Waring Solved By Adding a class that extends AppGlideModule
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;
@GlideModule
public final class MyAppGlideModule extends AppGlideModule {}
but the same error still exist