menu
menu copied to clipboard
[Bug] When build this project, error that could not find any matches for react native dependency occurs
Issue description
When I build this project with cli cd android && ./gradlew build, error occurs
* What went wrong:
Execution failed for task ':compileDebugRenderscript'.
> Could not resolve all files for configuration ':debugCompileClasspath'.
> Could not find any matches for com.facebook.react:react-native:+ as no versions of com.facebook.react:react-native are available.
Searched in the following locations:
- file:/Users/hyunwoo/Library/Android/sdk/extras/m2repository/com/facebook/react/react-native/maven-metadata.xml
- file:/Users/hyunwoo/Library/Android/sdk/extras/google/m2repository/com/facebook/react/react-native/maven-metadata.xml
- file:/Users/hyunwoo/Library/Android/sdk/extras/android/m2repository/com/facebook/react/react-native/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/facebook/react/react-native/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/facebook/react/react-native/0.71.0-rc.0/react-native-0.71.0-rc.0.pom
- https://dl.google.com/dl/android/maven2/com/facebook/react/react-native/maven-metadata.xml
- file:/Users/hyunwoo/IdeaProjects/menu/node_modules/react-native/android/com/facebook/react/react-native/maven-metadata.xml
Required by:
project :
This issue related to https://github.com/facebook/react-native/issues/35210 one.