Execution failed for task ':app:preDebugBuild'.
Android dependency 'com.android.support:support-v4' has different version for the compile (27.0.2) and runtime (27.1.1) classpath. You should manually set the same version via DependencyResolution
Me too.. :(
I was able to fix this issue by adding the following to my dependencies in app/build.gradle:
dependencies{
...
implementation("com.android.support:support-v4:27.1.1")
implementation project(':react-native-fast-image')
...
}
how to fix it in
com.android.support:support-v4:29.1.1
version
I changed to the above version ...but Gradle was not building properly
Most helpful comment
I was able to fix this issue by adding the following to my dependencies in app/build.gradle:
dependencies{
...
implementation("com.android.support:support-v4:27.1.1")
implementation project(':react-native-fast-image')
...
}