error: cannot find symbol variable GlideApp
This is the error I have been getting. I'm using Android studio 3.3.1 and imported these modules for glide.
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'
GlideApp.with(this /* context */)
.load(storageReference)
.into(MainImage);
To use generated API in Glide you need to create a class and extend AppGlideModule
and use @GlideModule
annotation, for example:
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;
@GlideModule
public final class MyAppGlideModule extends AppGlideModule {
}
After this rebuild and you should be able to use GlideApp
for more information visit:
http://bumptech.github.io/glide/doc/generatedapi.html