-
-
Notifications
You must be signed in to change notification settings - Fork 955
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
Could not find method compileOnly() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. #362
Comments
In the Build file '/Users/mao/Desktop/lzbk/mpx/node_modules/react-native-gesture-handler/android/build.gradle', in the dependencies section change "compileOnly" to "compile". I'm new to React Native so I'm not sure why, but I just looked at other packages in node_modules and found that they use "compile". Good luck. |
|
solved by make build.gradle file like this. |
I configure it according to official documents to use react-navigation3.0.2
my package.json
and MainActivity.java
then react-native run-android
find error
I want to know how to solve it.
The text was updated successfully, but these errors were encountered: