MVPArms
MVPArms copied to clipboard
Glide冲突问题
Look at here
- → Did you conform to the Rules?
- → Did you read the Wiki Carefully?
- → Did you search in Google?
- → Did you search in openned&closed Issues?
- → Receive only bugs and suggestions
Environment
- [x] MVPArms Version:
- [x] AndroidStudio Version:
- [x] Gradle Plugin Version:
- [x] Target Android Version:
- [x] Device Model:
Bug Description:
Related Code:
Bug Log:
App has crashed, executing CustomActivityOnCrash's UncaughtExceptionHandler
java.lang.IllegalStateException: GeneratedAppGlideModuleImpl is implemented incorrectly. If you've manually implemented this class, remove your implementation. The Annotation processor will generate a correct implementation.
at com.bumptech.glide.Glide.throwIncorrectGlideModule(Glide.java:341)
at com.bumptech.glide.Glide.getAnnotationGeneratedGlideModules(Glide.java:333)
at com.bumptech.glide.Glide.get(Glide.java:176)
at com.bumptech.glide.Glide.getRetriever(Glide.java:714)
at com.bumptech.glide.Glide.with(Glide.java:741)
at com.view.GlideUitls.loadGlide(GlideUitls.java:179)
at com.view.GlideUitls.load(GlideUitls.java:38)
at com.hardlove.wallet.utils.ImageLoadUtils.load(ImageLoadUtils.java:44)
Others:
貌似新版的glide更框架中的GeneratedAppGlideModuleImpl 冲突了。
框架一直都有自己实现的 AppGlideModule,使用者自己不能再自己实现 AppGlideModule,需要自己通过 https://github.com/JessYanCoding/MVPArms/blob/master/arms/src/main/java/com/jess/arms/http/imageloader/glide/GlideAppliesOptions.java 进行扩展
框架一直都有自己实现的 AppGlideModule,使用者自己不能再自己实现 AppGlideModule,需要自己通过 https://github.com/JessYanCoding/MVPArms/blob/master/arms/src/main/java/com/jess/arms/http/imageloader/glide/GlideAppliesOptions.java 进行扩展
最新版本2.5.2 还没有 /** * 注册{@link Glide}的组件,参考{@link com.bumptech.glide.module.LibraryGlideModule} * * @param context Android context * @param glide {@link Glide} * @param registry {@link Registry} */ void registerComponents(@NonNull Context context, @NonNull Glide glide, @NonNull Registry registry); 这个方法吧 ,麻烦更新下吧
嗯,先源码依赖
嗯,先源码依赖
这个什么时候能发布啊?急等...
@hardlove 将glide版换成4.9.0或者4.8.0就好了,如果在编译的时候出现gilde包supper包的异常,就在arms项目的build.gradle依赖 api rootProject.ext.dependencies["annotations"]改成 annotationProcessor rootProject.ext.dependencies["annotations"]就可以了!
什么时候解决啊
今天遇到个冲突问题,是一个aar依赖中的glide 版本和me.jessyan:arms-imageloader-glide:2.5.1 的不统一,统一之后可以了
您好,我已收到您的邮件,我会尽快给您回复。