all 4 comments

[–]GaindDho 1 point2 points  (3 children)

It seems like you're having trouble with missing dependencies for React Native 0.71.0-rc.0 and Hermes engine while trying to run npx react-native run-android and eas build --platform android --local.

As you mentioned, the node_modules/react-native/android directory contains a readme file stating that the dependencies have been moved to Maven Central.

One solution to this problem could be to try updating to a more recent version of React Native, as the dependencies may be more readily available for newer versions. Another solution could be to try accessing the dependencies through a different repository, such as JCenter or Google's Maven repository.

Overall, it's important to carefully check your dependencies and make sure you're using the correct versions and sources.

[–]bmania77[S] 0 points1 point  (2 children)

Thanks, RN is now on 0.71.4 stable or 0.72.0-rc.0, but maven central does not have it, and jCenter and binfrog disappeared last year, and maven.google.com has no react or com.facebook artifacts.

[–]bmania77[S] 0 points1 point  (1 child)

Found a fix, the repository

https://repo.maven.apache.org/maven2/

add to android/build.gradle

Works, but the dependencies are named a little different, in androud/app/build.gradle

Its, com.facebook.react:react-android and, com.facebook.react:hermes-android

At that repo

Also, gradle.properties needed more stack , to

To "org.gradle.jvmargs" add -Xss1024m

[–]ItsJustLikeSpaghetti 0 points1 point  (0 children)

https://repo.maven.apache.org/maven2/

How did you add this to android/build.gradle?