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

Not compile() #292

Open
ViktorWong opened this issue May 17, 2022 · 3 comments
Open

Not compile() #292

ViktorWong opened this issue May 17, 2022 · 3 comments

Comments

@ViktorWong
Copy link

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

@Manjeetsingh18
Copy link

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
}

@himu243
Copy link

himu243 commented Nov 26, 2022

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?

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

4 participants
@ViktorWong @himu243 @Manjeetsingh18 and others