Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RN 0.71.0 build error] Expected directory '.../node_modules/react-native/android' to contain exactly one file, however, it contains no files #3

Closed
tolgahan-arikan opened this issue Jan 19, 2023 · 0 comments · Fixed by #4

Comments

@tolgahan-arikan
Copy link

tolgahan-arikan commented Jan 19, 2023

Hey there, thanks a lot for all the work on this 🙏

I came across the following when I updated a project to 0.71.0 when building android:

* Where:
Build file '.../node_modules/react-native-random-values-jsi-helper/android/build.gradle' line: 172

* What went wrong:
A problem occurred evaluating project ':react-native-random-values-jsi-helper'.
> Expected directory '.../node_modules/react-native/android' to contain exactly one file, however, it contains no files.

seems to be related to react-native-community/discussions-and-proposals#508

also, they added this to react-native/android/README.md

Screenshot 2023-01-19 at 05 49 33

I tried to fix it, but then came across another issue related to CMakeLists.txt,
[CMake Error: The following variables are used in this project, but they are set to NOTFOUND] for REACT_NATIVE_JNI_LIB and JSI_LIB

probably was trying the wrong thing. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant