react-native-vision-camera
react-native-vision-camera copied to clipboard
🔧 ystem/camera-module-not-found: Failed to initialize VisionCamera: The native Camera Module (NativeModules.CameraView) could not be found
How were you trying to build the app?
For Android :-
- ./gradlew clean
- rm -rf android/.gradle android/.idea android/app/build android/build
- rm -rf package-lock.json yarn.lock node_modules
- yarn
- create debug apk and try to run
Full build logs
Error: Unable to resolve module react-native-vision-camera from /data/home/ubuntu/Desktop/dhpapp-285028-react-native/src/packages/blocks/BluetoothIntegration19/src/BluetoothIntegration19.tsx: react-native-vision-camera could not be found within the project or in these directories:
packages/blocks/BluetoothIntegration19/node_modules
i also try these steps :
1. Reset Metro's cache: yarn start --reset-cache
2. Remove the cache: rm -rf /tmp/metro-*
Project dependencies
"react-native-reanimated": "1.13.1”,
"react-native": "0.64.4”,
"react-native-vision-camera": "^3.6.17”,
"react-native-worklets-core": "^0.2.4”,
gradle:4.2.2
Node: v16.20.2
VisionCamera Version
3.6.17
Target platforms
Android
Operating system
Linux
Can you build the VisionCamera Example app?
I didn't try (⚠️ your issue might get ignored & closed if you don't try this)
Additional information
- [ ] I am using Expo
- [ ] I have enabled Frame Processors (react-native-worklets-core)
- [X] I have read the Troubleshooting Guide
- [X] I agree to follow this project's Code of Conduct
- [X] I searched for similar issues in this repository and found none.
Did you go through the troubleshooting guide? what does npx react-native info do