在app/build.gradle中dependencies中添加
implementation 'com.facebook.fresco:webpsupport:1.11.0'
// 如果你需要支持WebP格式,包括WebP动图compile 'com.facebook.fresco:animated-webp:1.3.0'compile 'com.facebook.fresco:webpsupport:1.11.0'