java.lang.NoClassDefFoundError: com.facebook.imagepipeline.producers.HttpUrlConnectionNetworkFetcher at com.facebook.imagepipeline.core.ImagePipelineConfig.<init>(ImagePipelineConfig.java:142) at com.facebook.imagepipeline.core.ImagePipelineConfig.<init>(ImagePipelineConfig.java:61) at com.facebook.imagepipeline.core.ImagePipelineConfig$Builder.build(ImagePipelineConfig.java:487) at com.facebook.imagepipeline.core.ImagePipelineFactory.initialize(ImagePipelineFactory.java:73) at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:65) at com.facebook.drawee.backends.pipeline.Fresco.initialize(Fresco.java:39)</init></init>
1
xingda920813 2019-11-05 17:04:58 +08:00
检查下:
1, MultiDex 是不是在所有进程里做了; 2, MultiDex 是不是同步阻塞的写在 attachBaseContext() 里的; 3, MultiDex 是不是在 Fresco 之前初始化的; 4, MultiDex 的初始化过程是否有报错; 总之, 确保 MultiDex 已经安装完成所有的 dex 了. 也可以通过反编译 apk 确定 HttpUrlConnectionNetworkFetcher 在第几个 dex 里. |