react-native-vision-camera icon indicating copy to clipboard operation
react-native-vision-camera copied to clipboard

🔧 React Native Vision Camera build failure !!

Open miracezra opened this issue 2 years ago • 1 comments

How were you trying to build the app?

I am currently using React Native Camera, but I am experiencing severe lag issues when scanning QR codes. Therefore, I have decided to use React Native Vision Camera, but I'm encountering errors during the installation process. I've tried many solutions I found online but couldn't resolve the issue. I'm sharing the error message below. I would greatly appreciate your help

Full build logs

Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.5.1.

Project dependencies

dependencies: {
  react-native: 0.69.5
  react-native-vision-camera: ^3.0.0
},

VisionCamera Version

3.3.6

Target platforms

iOS, Android

Operating system

MacOS

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

miracezra avatar Nov 20 '23 07:11 miracezra

I can't compile the project due to the library. I've tried all versions, but it won't let me. I'm doing it from Windows :(

FidoelPepino avatar Nov 22 '23 23:11 FidoelPepino

Maybe upgrade your Kotlin version

mrousavy avatar Jan 11 '24 15:01 mrousavy

@FidoelPepino, did you manage to make it work? I'm having a similar issue

uqmessias avatar Feb 23 '24 04:02 uqmessias