react-native-camera-kit
react-native-camera-kit copied to clipboard
Build is failing on Android [RN 0.72.4]
Describe the bug I recently upgraded my react native app from version 0.70.6 to version 0.72.4, iOS is working fine but the Android build is failing, with the following error:
Could not determine the dependencies of task ':react-native-camera-kit:compileDebugJavaWithJavac'.
> Could not determine the dependencies of null.
> Cannot query the value of this provider because it has no value available.
To Reproduce Steps to reproduce the behavior:
- Install the package
- Do the kotlin setup
- Run the app, and you'll get the error
Expected behavior The app should work fine without any build errors
Screenshots N/A
Smartphone
- Device: Huawei P30 lite
- OS: EMUI 12
same error ,any update ?
see https://github.com/teslamotors/react-native-camera-kit/issues/596
This still reproduces for me on version 0.72.5 even after following all of the steps in #596
Please follow this doc: https://github.com/teslamotors/react-native-camera-kit/blob/master/docs/kotlin.md and change the minSdkVersion = 23 in android/build.gradle
That’s very obvious and does not fix the issue
Please follow this doc: https://github.com/teslamotors/react-native-camera-kit/blob/master/docs/kotlin.md and change the minSdkVersion = 23 in android/build.gradle
Not sure what your error means. I didn't get it.
I updated the example app, first to 0.72.4, then to 0.73.1 and it worked fine. I'll test it further before to raise a PR.
https://github.com/DavidBertet/react-native-camera-kit/tree/feature/update_react_native/example
I looked at how Facebook is doing it on their template https://github.com/facebook/react-native/tree/v0.73.1/packages/react-native/template
u can replace it with react-native-vision-camera/QR/Barcode Scanning
so easy to replace it and vision camera is performed and strong
warning : must have react-native-reanimated ^v3 make sure when update it it will not effect on ur project
https://react-native-vision-camera.com/docs/guides/code-scanning