Closed rishabhrathod01 closed 5 years ago
change compileOnly to compile. it works for me. good luck
Yeah, even i am doing the same to make it work for now but i couldn't understand the reason why it works.If you can help me with understanding differences between compileOnly, compile and implementation it will be great help
Could not find method compileOnly() for arguments [com.facebook.react:react-native:+]
Hi,
I get this error when i try to run on android :
Error Message in Terminal : Could not find method compileOnly() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
react-native --version