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

A problem occurred evaluating project ':app'. > Could not find method compile() for arguments [project ':react-native-text-gradient'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. #53

Open
frankelly001 opened this issue May 31, 2022 · 1 comment

Comments

@frankelly001
Copy link

After Inserting the following lines inside the dependencies block in android/app/build.gradle:

compile project(':react-native-text-gradient')

am get this error message below when am trying to for andriod app

A problem occurred evaluating project ':app'. >
Could not find method compile() for arguments [project ':react-native-text-gradient'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

@asherginting
Copy link

I think still with the same issue
A problem occurred evaluating root project 'lineargradient'.

Could not find method compile() for arguments [project ':react-native-text-gradient'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

After Inserting the following lines inside the dependencies block in android/app/build.gradle:
compile project(':react-native-text-gradient')

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