You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use react native 0.69.4 with new architecture and hermes.
Before I install react-native-vision-camera and vision-camera-code-scanner, android build success. But after install them, android throw an error when build: [fcntl(): Bad file descriptor]. This issue mention path: {project-path}/android/app/build/react-ndk/exported/x86/libfb.so . This path is defined in react-native-safe-area-context/android/src/main/jni/Android.mk (LOCAL_SRC_FILES), but everything is ok util I install camera vision. This is how they define path: LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(GENERATED_SRC_DIR)/codegen/jni/*.cpp). Please suggest me the way to fix this problem.
Thank you very much.
What were you trying to do?
I use react native 0.69.4 with new architecture and hermes.
Before I install react-native-vision-camera and vision-camera-code-scanner, android build success. But after install them, android throw an error when build: [fcntl(): Bad file descriptor]. This issue mention path: {project-path}/android/app/build/react-ndk/exported/x86/libfb.so . This path is defined in react-native-safe-area-context/android/src/main/jni/Android.mk (LOCAL_SRC_FILES), but everything is ok util I install camera vision. This is how they define path:
LOCAL_SRC_FILES := $(wildcard $(LOCAL_PATH)/*.cpp) $(wildcard $(GENERATED_SRC_DIR)/codegen/jni/*.cpp)
. Please suggest me the way to fix this problem.Thank you very much.
Reproduceable Code
What happened instead?
Build error
Relevant log output
Device
Pixel 5A api 31 (emulator, just build, not run yet)
VisionCamera Version
2.14.1
Additional information
The text was updated successfully, but these errors were encountered: