craftzdog / craftzdog/react-native-quick-base64

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

Open
#39 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
464
Forks
40
PR merge metrics
No merged PRs in 30d

Description

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.

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

`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the react-native-quick-base64 dependency used by project :app and reproduce the failure through gradlew.bat app:installDebug. Check the listed local and Maven repository paths for com.facebook.react:react-android and determine what changes are needed for React Native 0.70.5. Done means the dependency resolves and the Android app builds successfully for versions above 2.0.8.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.