java - 错误:无法访问 com.facebook.imagepipeline.animated.base.AnimatedImage 的 AnimatedImage 类文件未找到
问题描述
我收到错误
错误:无法访问 AnimatedImage
com.facebook.imagepipeline.animated.base.AnimatedImage 的类文件未找到
在尝试纯粹从源代码运行https://github.com/WhatsApp/stickers/tree/master/Android时。检查构建输出后,我看到 以下内容。
我找不到任何提及 com.facebook.imagepipeline.animated.base.AnimatedImage 的内容,也无法找到问题所在。
编辑:我实际上设法解决了这个问题。我正在运行与我连接的 Android 设备不匹配的 Android API 版本。
解决方案
再添加一个依赖
implementation 'com.facebook.fresco:animated-base:1.13.0'
然后它工作得很好
推荐阅读
- c++ - 持久性 std::chrono time_point
- javascript - 使用 style-loader(webpack) 和 css-in-js 库有什么区别?
- c++ - websocket错误:关闭1006(异常关闭):底层传输错误c ++
- c# - TLS 1.2 - 警报级别 - 致命 - 描述协议版本
- django - Django Rest Framework 如果不存在则创建新数据
- amazon-web-services - Jenkins 报 SSLException: Read timed out error when installed the aws sdk plugin
- knative - Knative 并发背后的推理
- python - 一次处理多个输入框时出错
- django - 在django中为不同的用户设置不同的注销时间?
- karate - 空手道 v1 中的表格问题