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

bug in LocalImageProvider().imageBytes( ) function #44

Open
muhammadCodeSh opened this issue Jun 22, 2022 · 3 comments
Open

bug in LocalImageProvider().imageBytes( ) function #44

muhammadCodeSh opened this issue Jun 22, 2022 · 3 comments

Comments

@muhammadCodeSh
Copy link

muhammadCodeSh commented Jun 22, 2022

I tried to call this function
Uint8List fileByte = await LocalImageProvider().imageBytes(image.id.toString(), 1080, 1080);
also I tried it
Uint8List fileByte = await LocalImageProvider().imageBytes(image.id.toString(), image.pixelHeight!, image.pixelWidth!);
but after call I get this error
[ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(imgLoadFailed, Exception while loading image, GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation., null)

my plugin version is 4.2.0 please answer me soon

@sowens-csd
Copy link
Collaborator

Testing this now

@sowens-csd
Copy link
Collaborator

I can't reproduce the issue with the example app. What version of Android are you running this on? Can you reproduce with the sample app?

@muhammadCodeSh
Copy link
Author

classpath 'com.android.tools.build:gradle:3.5.4'
distributionUrl=https://services.gradle.org/distributions/gradle-6.6.1-all.zip

this is my gradle version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants