menu icon indicating copy to clipboard operation
menu copied to clipboard

[Bug] When build this project, error that could not find any matches for react native dependency occurs

Open l2hyunwoo opened this issue 3 years ago • 0 comments

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.

l2hyunwoo avatar Oct 12 '23 04:10 l2hyunwoo