React-native-fast-image: Execution failed for task ':app:preDebugBuild'.

Created on 28 Nov 2018  路  4Comments  路  Source: DylanVann/react-native-fast-image

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

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')
...
}

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings