bobowg / BaiseComposeLearn

android compose 基本参考用法与示例
4 stars 0 forks source link

java.lang.NullPointerException: ImagePipelineFactory was not initialized! #10

Open bobowg opened 2 years ago

bobowg commented 2 years ago

Process: com.example.baisecomposelearn, PID: 11211 java.lang.NullPointerException: ImagePipelineFactory was not initialized! at com.facebook.common.internal.Preconditions.checkNotNull(Preconditions.java:227) at com.facebook.imagepipeline.core.ImagePipelineFactory.getInstance(ImagePipelineFactory.java:70) at com.facebook.drawee.backends.pipeline.Fresco.getImagePipelineFactory(Fresco.java:140) at com.facebook.drawee.backends.pipeline.Fresco.getImagePipeline(Fresco.java:145) at com.skydoves.landscapist.fresco.FrescoImageFrescoImageKt.FrescoImage$FrescoImageFrescoImageKt(FrescoImage.kt:497) at com.skydoves.landscapist.fresco.FrescoImageFrescoImageKt.FrescoImage(FrescoImage.kt:400) at com.skydoves.landscapist.fresco.FrescoImage.FrescoImage(FrescoImage.kt:1) at com.skydoves.landscapist.fresco.FrescoImageFrescoImageKt.FrescoImage(FrescoImage.kt:105) at com.skydoves.landscapist.fresco.FrescoImage.FrescoImage(FrescoImage.kt:1) at com.example.baisecomposelearn.screens.media.FrescoLandscapistScreenKt.FrescoLandscapistScreen(FrescoLandscapistScreen.kt:17)

bobowg commented 2 years ago

java.lang.NullPointerException: ImagePipelineFactory was not initialized! 图片没有初始化,初始化图片即可 !