I\'m developing a React-native app and all of a sudden I started getting the following error:
- What went wrong: A problem occurred configurin
in your root build.Gradle force all dependencies to a specific version.
allprojects {
configurations.all {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'com.facebook.react' && details.requested.name == 'react-native') {
details.useVersion "0.40.0" // Your React Native version here
}
}
}
}
}