Closed RuanCardoso closed 4 months ago
encountered the same issue
encountered the same issue
The solution is:
Download this: https://github.com/chenyeju295/flutter_uvc_camera
work with the example project found inside the "example" folder, modify it and be happy.
Obs:
Don't move the "example" project, it must be a child of flutter_uvc_camera, just modify it.
If you want to change the directory of the child project, you must modify the path in pubspec.yaml
flutter_uvc_camera:
path: ../
Excuse me, Is there any way not to rely on this folder? For example, copying some folder files or something like that? thank you very much
Excuse me, Is there any way not to rely on this folder? For example, copying some folder files or something like that? thank you very much
You can use your own project, just point the library path correctly in pubspec.yaml
flutter_uvc_camera:
path: **YOUR_PATH** << add this line and put the **PATH**.
Download the lib here: https://github.com/chenyeju295/flutter_uvc_camera
@JyoHuang @RuanCardoso
Add the repositories library address to your main Android project。
maven { url "https://jitpack.io" }
It was an oversight on my part. I'll update the README.md
@chenyeju295 @JyoHuang @RuanCardoso I'm facing this issue, how do I use this plugin? Can anyone help ?
@vaishnavijlk It looks like the referenced packages are conflicting, you can remove the reference to"jiangdongguo.AndroidUSBCamera:3.3.3" . which I forked from it , upgraded to 3.3.6 to support Android 14
@chenyeju295, I followed the instructions from https://pub.dev/packages/flutter_uvc_camera and trying to integrate this in my project. I'm not able to run the app, I'm still getting the errors which I attached above. I'm using flutter_uvc_camera: ^0.0.2
@vaishnavijlk There may be other packages in your project that reference AndroidUSBCamera:libausbc:3.3.3, you can either do a global search to find them and remove the reference or try replacing the implementation with compileOnly.
How to fix this?
[UPDATE 29/04/2023]