Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android编译问题 #140

Open
cwinl opened this issue Aug 10, 2019 · 3 comments
Open

android编译问题 #140

cwinl opened this issue Aug 10, 2019 · 3 comments

Comments

@cwinl
Copy link

cwinl commented Aug 10, 2019

错误:
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问题

参考如下链接:
zoontek/react-native-localize#13 (comment)

编辑 android/build.gradle 和 android/gradle/wrapper/gradle-wrapper.properties
修改为3.0.1 和4.1

然后react-native run-android 成功

@Richard-Cao
Copy link
Member

是降版本了吗

@cwinl
Copy link
Author

cwinl commented Aug 12, 2019

是降版本了吗

升级版本了

@Richard-Cao
Copy link
Member

是降版本了吗

升级版本了

👍,可以提个pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants