Skip to content
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 version 2.2.0 cause of the firebase ml package. #48

Closed
Loopex2019 opened this issue Jun 14, 2019 · 7 comments
Closed

Can not install version 2.2.0 cause of the firebase ml package. #48

Loopex2019 opened this issue Jun 14, 2019 · 7 comments

Comments

@Loopex2019
Copy link

I tried installing the latest version of the Package but whenever i run it , it always show me that Error : [looper_2019] flutter packages get
Running "flutter packages get" in looper_2019...
Because flutter_camera_ml_vision >=2.1.0 depends on firebase_ml_vision ^0.8.0 and looper_2019 depends on firebase_ml_vision ^0.7.0, flutter_camera_ml_vision >=2.1.0 is forbidden.

So, because looper_2019 depends on flutter_camera_ml_vision ^2.2.0, version solving failed.
pub get failed (1)
exit code 1
I think it has something to do with the firebase ml vision package version 0.7.0

@Kleak
Copy link
Contributor

Kleak commented Jun 14, 2019

Could you share your pubspec ?

@Loopex2019
Copy link
Author

Loopex2019 commented Jun 14, 2019

This is the Dependencies part :
flutter:
sdk: flutter

cupertino_icons: ^0.1.2
gradient_widgets: ^0.4.1
firebase_ml_vision: ^0.7.0
firebase_face_contour: ^0.1.0
flutter_camera_ml_vision: ^2.2.0
simple_animations: ^1.3.0
flutter_screenutil: ^0.5.2
scoped_model: ^1.0.1
cloud_firestore: ^0.11.0+2
flare_flutter: ^1.5.1

dependency_overrides:
camera:
git:
url: https://github.com/jaumard/plugins.git
ref: feature/camera_api_16_installation
path: packages/camera

@Kleak
Copy link
Contributor

Kleak commented Jun 14, 2019

please remove firebase_ml_vision and the dependency_overrides. It should work after that.

@jaumard
Copy link
Collaborator

jaumard commented Jun 14, 2019

dependency_overrides of camera is not needed anymore,
and firebase_ml_vision is not needed if you don't use it on your code

@jaumard jaumard closed this as completed Jun 14, 2019
@Loopex2019
Copy link
Author

Loopex2019 commented Jun 14, 2019

I can not remove the firebase ml package because I am using in other things Like getting the face landmarks and other things too

@Kleak
Copy link
Contributor

Kleak commented Jun 14, 2019

if you can't, use firebase_ml_vision: ^0.8.0 in that case

@Loopex2019
Copy link
Author

Thanks it worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants