react-native-quick-base64 icon indicating copy to clipboard operation
react-native-quick-base64 copied to clipboard

Versions greater than 2.0.8 - Could not find any matches for com.facebook.react:react-android:+

Open navinluxai opened this issue 1 year ago • 2 comments

Versions above 2.0.8 , I am getting below error while trying to run app, React native version is 0.70.5

`FAILURE: Build failed with an exception.

  • What went wrong: Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find any matches for com.facebook.react:react-android:+ as no versions of com.facebook.react:react-android are available. Searched in the following locations: - file:/C:/Code2/EducatorApp/node_modules/react-native/android/com/facebook/react/react-android/maven-metadata.xml - file:/C:/Code2/EducatorApp/node_modules/jsc-android/dist/com/facebook/react/react-android/maven-metadata.xml - https://dl.google.com/dl/android/maven2/com/facebook/react/react-android/maven-metadata.xml - https://www.jitpack.io/com/facebook/react/react-android/maven-metadata.xml Required by: project :app > project :react-native-quick-base64

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 21s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 -PreactNativeDebugArchitectures=arm64-v8a -PreactNativeArchitectures=arm64-v8a

FAILURE: Build failed with an exception.

  • What went wrong: Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not find any matches for com.facebook.react:react-android:+ as no versions of com.facebook.react:react-android are available. Searched in the following locations: - file:/C:/Code2/EducatorApp/node_modules/react-native/android/com/facebook/react/react-android/maven-metadata.xml - file:/C:/Code2/EducatorApp/node_modules/jsc-android/dist/com/facebook/react/react-android/maven-metadata.xml - https://dl.google.com/dl/android/maven2/com/facebook/react/react-android/maven-metadata.xml - https://www.jitpack.io/com/facebook/react/react-android/maven-metadata.xml Required by: project :app > project :react-native-quick-base64

`

navinluxai avatar Apr 16 '24 12:04 navinluxai

So, I was able to build the Example app in this repo just fine for Android, and see it in the emulator. Can you do that successfully? It may be something with your setup.

Also, I found this thread that might be helpful.

boorad avatar Apr 23 '24 18:04 boorad

Same on react-native-quick-base64 2.0.5 and RN 0.69.3

dongnguyen00 avatar Jul 24 '24 04:07 dongnguyen00