I am trying to install Facebook SDK
to my react-native app which is being installed successfully, but when I try to run the app, it crashes with the following error:
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
This error originates from another installed sdk (jumio) and more specifically from the file application/node_modules/react-native-jumio-mobilesdk/android/build.gradle
Can someone please enlighten me?
Turns out I had to update all the dependencies of
com.android.support
and not only thecom.android.support:v4:xx.x.x
. In my case it wasThank you all for your answers and your time!