官方 WhatsApp 贴纸示例应用程序中的错误 [英] Error in official WhatsApp Stickers example App
问题描述
我刚刚找到了这个项目 并且很喜欢.嘿.为什么不尝试使用它?
I just found this Project and was like. hey. why not trying to use it?
所以.刚刚下载它(我没有改变任何东西!),打开 Android Studio,运行它,然后面对以下问题.
So. just downloaded it (i did NOT change anything!), opened Android Studio, ran it, and faced following.
错误:无法访问 AnimatedImage 类文件com.facebook.imagepipeline.animated.base.AnimatedImage 未找到
error: cannot access AnimatedImage class file for com.facebook.imagepipeline.animated.base.AnimatedImage not found
然后我试着用谷歌搜索这个问题,重新检查,重新尝试,最后到了这里.
Then I tried to Google the issue, re-checked it, re-tried it, and finally end up here.
你知道如何让这个项目运作吗?
Do you have any idea on how to get this project working?
我通过问题单达成:https://github.com/WhatsApp/stickers/issues/429#issue-414808090
推荐答案
只需将此库添加到您的构建文件中
just add this library in your build file
implementation 'com.facebook.fresco:animated-base:1.13.0'
注意:此库的版本应与构建文件中已存在的其他 fresco 库相同.
Note: The version of this library should be equal to other fresco libraries already present in your build file.
这篇关于官方 WhatsApp 贴纸示例应用程序中的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!