Fresco: Android gradle plugin 3.4.0 and 5.1.1 gradle caused fresco package or class not found

Created on 26 Apr 2019  路  3Comments  路  Source: facebook/fresco

Description

When updated android gradle plugin to 3.4.0 and gradle version to 5.1.1,
android build tools to 28.0.3, then found the following error:

error: package com.facebook.imagepipeline.animated.base does not exist
import com.facebook.imagepipeline.animated.base.AnimatedImage;

Additional Information

  • Fresco version: 1.13.0
build needs-details

Most helpful comment

I add fresco animated webp in gradle but i can't access AnimatedDrawable2 class, looking in external library dependency there's no animated-base dependency, fixed by manually add com.facebook.fresco:animated-base dependency in gradle

All 3 comments

Hi @hbzhzw , can you provide the exact dependencies in your gradle file?

Does it work after adding com.facebook.fresco:animated-base:1.13.0?

after add com.facebook.fresco:animated-base:1.13.0, it works now.... thanks

I add fresco animated webp in gradle but i can't access AnimatedDrawable2 class, looking in external library dependency there's no animated-base dependency, fixed by manually add com.facebook.fresco:animated-base dependency in gradle

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rhettor picture rhettor  路  3Comments

qiiyue picture qiiyue  路  4Comments

amodkanthe picture amodkanthe  路  3Comments

liubaoyua picture liubaoyua  路  3Comments

satyarths picture satyarths  路  3Comments