我遇到错误
错误:无法访问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版本。
答案 0 :(得分:4)
再添加一个依赖项
implementation 'com.facebook.fresco:animated-base:1.13.0'
然后就可以了