Open cwinl opened 5 years ago
错误: Could not find method implementation() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
怀疑是gradle问题
参考如下链接: https://github.com/react-native-community/react-native-localize/issues/13#issuecomment-424871956
编辑 android/build.gradle 和 android/gradle/wrapper/gradle-wrapper.properties 修改为3.0.1 和4.1
然后react-native run-android 成功
是降版本了吗
升级版本了
是降版本了吗 升级版本了
👍,可以提个pr
错误: Could not find method implementation() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
怀疑是gradle问题
参考如下链接: https://github.com/react-native-community/react-native-localize/issues/13#issuecomment-424871956
编辑 android/build.gradle 和 android/gradle/wrapper/gradle-wrapper.properties 修改为3.0.1 和4.1
然后react-native run-android 成功