-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not install The Camera Package while using the Camera ML Package #12
Comments
The flutter_camera_ml_vision is using the camera package, so you can't add it again as the error message said, but you should be able to use it a transitive dependency :) until the PR made to camera plugin is merge, we can't used a specific version and have to use the git hosted version |
Thanks for your answer but what do you mean with transitive dependency |
I mean you don't need to add it on your pubspec.yaml at all, or if you want to have you need to put it under dependency_overrides with
|
Okay thanks for that I will try soon |
Hi there. Where is that : dependency_overrides in pupspec.yaml file to add the camera extension? |
I tried it but there is an another Error occurs to me / Git error. Command: git rev-list --max-count=1 feature/camera_api_16_installation fatal: ambiguous argument 'feature/camera_api_16_installation': unknown revision or path not in the working tree. |
Ho maybe you need the https url version:
Try it might be better |
Thanks you very much it works good . But i have a Question. Does is always access the latest Version of the Package or do i have to specify it ? |
I point to flutter/plugins#1482 which offer the ability to install under api 21 on Android, once this one is merged you'll be able to use the version you want |
Okay thanks for your support |
Whenever i install the camera package there is an error occurs related to the Camera ML Package:
Because flutter_camera_ml_vision 1.2.0 depends on camera from git and no versions of flutter_camera_ml_vision match >1.2.0 <2.0.0, flutter_camera_ml_vision ^1.2.0 requires camera from git.
So, because looper_2019 depends on both flutter_camera_ml_vision ^1.2.0 and camera from hosted, version solving failed.
pub get failed (1)
exit code 1
The text was updated successfully, but these errors were encountered: