Error in official WhatsApp Stickers example App

2019-08-09 01:51发布

问题:

I just found this Project and was like. hey. why not trying to use it?

So. just downloaded it (i did NOT change anything!), opened Android Studio, ran it, and faced following.

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?

I reached in an issue-ticket: https://github.com/WhatsApp/stickers/issues/429#issue-414808090

回答1:

just add this library in your build file

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

Note: The version of this library should be equal to other fresco libraries already present in your build file.