Closed nicklasbring8 closed 1 year ago
Hey!
I think VisionCamera V3 requires react-native 0.71. I'm not 100% sure but I think it does.
The error you sent also kinda looks like a cache issue. Maybe try upgrading to RN 0.71 first, then clear cache and then install VisionCamera V3 :)
Hey,
I had the same thought. The only thing is that upgrading from 0.70.5 is not just a small step, but I'll definitely give it a try. :) I've attempted clearing the cache with no success.
@nicklasbring8 hey I have exactly the same issue, (though my rn version is 0.69), have you had any luck solving it?
I apologize for the delay in providing an update.
I successfully updated my React Native version to 0.71.14, which resolved my issue. The React Native CLI upgrader was unable to automatically update my React Native version, so I had to manually update all my files using the helper tool. While it did take some time, it was a worthwhile effort.
@nikoloz110, if you are currently using version 0.69, can you build without the react-native-vision-camera module? I don't recall 0.69 having the necessary patches to address the major build issue on Android introduced around a year ago when they released 0.71. I also encountered significant difficulties building on Android back then, which prompted me to update to the 0.70.5 patch.
Same issue, react-native version= "react-native": "0.70.6" how to solve it ?
Same issue. iOS works great. Shameless bump.
How were you trying to build the app?
I updated react-native-vision-camera from version 2.15.6 to 3.5.1. However, when I attempt to build the app, I encounter the following error, along with numerous duplicate class errors:
I'm currently using React Native version 0.70.5, and I'm unsure where the 0.73.0-rc3 comes from, except that it appeared after I installed version 3 of the react-native-vision-camera module.
I recall encountering issues with my previous version of React Native when version 0.71.0 was uploaded to Maven Central. To resolve the problem, I had to update my React Native version to one of their patch versions because my app started pulling the latest version of React Native from Maven Central. This information may be relevant to the current issue.
Full build logs
Project dependencies
VisionCamera Version
3.5.1
Target platforms
Android
Operating system
Windows
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