【问题标题】:error: cannot access AnimatedImage class file for com.facebook.imagepipeline.animated.base.AnimatedImage not found错误:无法访问 com.facebook.imagepipeline.animated.base.AnimatedImage 的 AnimatedImage 类文件未找到
【发布时间】:2019-06-22 23:19:41
【问题描述】:

我遇到了错误

错误:无法访问 AnimatedImage

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

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

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

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

【问题讨论】:

  • 没关系,我实际上设法解决了这个问题。我运行的 Android API 版本与我连接的 Android 设备不匹配。

标签: java android intellij-idea


【解决方案1】:

再添加一个依赖项

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

然后它就可以正常工作了

【讨论】:

    猜你喜欢
    • 2017-10-16
    • 1970-01-01
    • 2019-05-24
    • 2017-06-09
    • 1970-01-01
    • 2019-05-03
    • 2019-02-10
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多