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

GeneratedAppGlideModuleImpl is defined multiple times #17

Open
AlexDochioiu opened this issue Apr 27, 2021 · 3 comments
Open

GeneratedAppGlideModuleImpl is defined multiple times #17

AlexDochioiu opened this issue Apr 27, 2021 · 3 comments

Comments

@AlexDochioiu
Copy link

I am using Glade for the rest of the app as well and I defined my own Glide Module. It seems to be clashing with the one defined by the library. Not really how this can be fixed other than to avoid using the glide module in the library.

Type com.bumptech.glide.GeneratedAppGlideModuleImpl is defined multiple times: /Users/alexandrudochioiu/.gradle/caches/transforms-2/files-2.1/40f8833c9ed01401ecf4ce42de9ca693/jetified-GlideToVectorYou-v2.0.0-runtime.jar:com/bumptech/glide/GeneratedAppGlideModuleImpl.class, /Users/alexandrudochioiu/AndroidStudioProjects/NFT_Craze_Gallery/app/build/intermediates/javac/release/classes/com/bumptech/glide/GeneratedAppGlideModuleImpl.class
@VivekMakwana24
Copy link

@AlexDochioiu did you found any solution for this?

@AlexDochioiu
Copy link
Author

@VivekMakwana24 I manually copied the files and imports from the library into my own project, and then in the Glide Module defined in the library I added extra code for what I needed for my own project.

@pecpwee
Copy link

pecpwee commented Jun 13, 2024

as a library, the project should not contains class that implements AppGlideModule. which is conflicted with the host project that also contains the class that implements AppGlideModule.

the 'AppGlideModule' should be replaced by 'LibraryGlideModule'

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

3 participants