Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Glide] Failed to find GeneratedAppGlideModule. #30

Open
eli191 opened this issue Mar 21, 2019 · 3 comments
Open

[Glide] Failed to find GeneratedAppGlideModule. #30

eli191 opened this issue Mar 21, 2019 · 3 comments
Labels
bug Something isn't working need-info I need more info?

Comments

@eli191
Copy link

eli191 commented Mar 21, 2019

Hi,
I get this in my application (Android project of a Xamarin.Forms solution) output

[glidex] IImageViewHandler of type Android.Glide.ImageViewHandler, instance created. [glidex] IImageViewHandler of type Android.Glide.ImageViewHandler, LoadImageAsynccalled. [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 [glidex] Loadinghttps://firebasestorage.googleapis.com/...` as a web URL`

I am filling the Source property of my image in the code behind like this
MyImage.Source = ImageSource.FromUri(new Uri("https://firebasestorage.googleapis.com/..."));

My image is not showing.
Please can you kindly provide any help?

@jonathanpeppers
Copy link
Owner

jonathanpeppers commented Mar 21, 2019

@elisabeth-mitton can you post all the NuGet packages + versions you are using? (packages.config or list of <PackageReference/>)

I suspect there is a Xamarin.Android.Support.Annotations NuGet causing this...

I didn't intend for any annotations to get processed, and seems like they might be.

@jonathanpeppers jonathanpeppers added bug Something isn't working need-info I need more info? labels Mar 21, 2019
@AmjadSaab
Copy link

AmjadSaab commented Jan 26, 2022

@jonathanpeppers my code also show this error :
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. [io01-26 12:50:15.907 I] Glide treats LayoutParams.WRAP_CONTENT as a request for an image the size of this device's screen dimensions. If you want to load the original image and are ok with the corresponding memory cost and OOMs (depending on the input size), use override(Target.SIZE_ORIGINAL). Otherwise, use LayoutParams.MATCH_PARENT, set layout_width and layout_height to fixed dimension, or use .override() with fixed dimensions.
And the images are not displaying expect in case i specified the HeightRequest in the Xaml Image control

@jonathanpeppers
Copy link
Owner

@AmjadSaab can you share an example that causes this problem?

We could add a sample page here: https://github.com/jonathanpeppers/glidex/tree/main/glidex.forms.sample/Forms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need-info I need more info?
Projects
None yet
Development

No branches or pull requests

3 participants