1Edit your android/app/build.gradle file and add the following code:
2
3
4dependencies: {
5...
6compile 'com.facebook.fresco:fresco:1.+'
7
8// For animated GIF support
9compile 'com.facebook.fresco:animated-gif:1.+'
10
11// For WebP support, including animated WebP
12compile 'com.facebook.fresco:animated-webp:1.+'
13compile 'com.facebook.fresco:webpsupport:1.+'
14