Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android gradle plugin 3.4.0 and 5.1.1 gradle caused fresco package or class not found #2334

Closed
hbzhzw opened this issue Apr 26, 2019 · 3 comments
Labels
build needs-details This issue or PR is currently not actionable as it misses details (e.g. for reproducing the problem)

Comments

@hbzhzw
Copy link

hbzhzw commented Apr 26, 2019

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
@lambdapioneer
Copy link
Contributor

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?

@lambdapioneer lambdapioneer added build needs-details This issue or PR is currently not actionable as it misses details (e.g. for reproducing the problem) labels Apr 29, 2019
@hbzhzw
Copy link
Author

hbzhzw commented Apr 30, 2019

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

@hbzhzw hbzhzw closed this as completed Apr 30, 2019
@illwiz
Copy link

illwiz commented Jul 16, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build needs-details This issue or PR is currently not actionable as it misses details (e.g. for reproducing the problem)
Projects
None yet
Development

No branches or pull requests

3 participants