错误:找不到com.facebook.imagepipeline.animated.base.AnimatedImage的AnimatedImage类文件

时间:2019-01-29 18:42:56

标签: java android intellij-idea

我遇到错误

  

错误:无法访问AnimatedImage

     

未找到com.facebook.imagepipeline.animated.base.AnimatedImage的类文件

仅尝试从源代码运行https://github.com/WhatsApp/stickers/tree/master/Android时。 检查构建输出后,我看到 the following

我找不到任何提及com.facebook.imagepipeline.animated.base.AnimatedImage的内容,也无法找到问题所在。

编辑:我实际上设法解决了这个问题。我在连接的android设备上运行的是不匹配的Android API版本。

1 个答案:

答案 0 :(得分:4)

再添加一个依赖项

implementation 'com.facebook.fresco:animated-base:1.13.0'

然后就可以了