Open ViktorWong opened 2 years ago
Need to edit build.gradle (Inside the node_module/react-native-i18n)
replace compile to implementation
dependencies {
implementation "com.facebook.react:react-native:+" // From node_modules
}
Thanks @Manjeetsingh18 . This worked for me. I believe it isn't merged in master yet. Do we have any existing patch version which contains this change?
error: Could not find method compile() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler
need to change compile() 为 implementation