java - 找不到错误 : cannot access AnimatedImage class file for com. facebook.imagepipeline.animated.base.AnimatedImage

标签 java android intellij-idea

我遇到了错误

error: cannot access AnimatedImage

class file for com.facebook.imagepipeline.animated.base.AnimatedImage not found

尝试运行 https://github.com/WhatsApp/stickers/tree/master/Android纯粹来自源头。 检查构建输出后,我明白了 the following .

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

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

最佳答案

再添加一个依赖

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

然后它工作得很好

关于java - 找不到错误 : cannot access AnimatedImage class file for com. facebook.imagepipeline.animated.base.AnimatedImage,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54427681/

相关文章:

intellij-idea - 如何停止自动完成类方法的PyCharm?

java - 如何在JSTL中使用AOP?

android按钮不会在每次点击时触发事件

intellij-idea - 在IDEA中,Subversion的运行速度非常慢

java - 为什么我的 gradle 构建失败? (找不到方法 apt())

android - 如何在 Android 中将 UI 小部件放置在多个 Z 排序的表面 View 之上

java - 无法使用 Java 即时使用 setNull 将空值插入到 MySql 数据库中?

java - Java 堆栈跟踪中的神秘位置

java - 使用 ResultSet 返回最后生成的键

android - Mutidex和Kotlin