"react-native": "^0.54.3",
"react-native-android-open-settings": "^1.2.0",
- What went wrong:
A problem occurred evaluating project ':react-native-android-open-settings'.
Could not find method implementation() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
in node_modules/react-native-android-open-settings/android/build.gradle
modify
dependencies {
implementation 'com.facebook.react:react-native:+'
}
to
dependencies {
compile 'com.facebook.react:react-native:+'
}
and it works