简体   繁体   中英

error: cannot access AnimatedImage class file for com.facebook.imagepipeline.animated.base.AnimatedImage not found

I'm getting errors

error: cannot access AnimatedImage

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

On attempting to run https://github.com/WhatsApp/stickers/tree/master/Android purely from source. After checking Build Output, I see the following .

I couldn't find anything mentioning com.facebook.imagepipeline.animated.base.AnimatedImage, and can't manage to find what's wrong.

Edit: I actually managed to solve this. I was running a not matching version of the Android API to my connected android device.

add one more dependency

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

then it works just fine

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM