I have created an app with react-native init AwesomeProject
.
I can't display a gif despite following the instructions in https://facebook.github.io/react-native/docs/image.html. When I comment out compile 'com.facebook.fresco:animated-gif:1.8.1'
my app runs properly.
My build.gradle dependencies section:
dependencies {
compile fileTree(dir: "libs", include: ["*.jar"])
compile "com.android.support:appcompat-v7:23.0.1"
compile "com.facebook.react:react-native:+" // From node_modules
compile 'com.facebook.fresco:animated-gif:1.8.1' // For animated GIF support
}
I'm using Windows 10 and an Android emulator targetting 8.1. When I run react-native run-android
I get an error "AwesomeProject has stopped".