I am using a flutter in my mobile app and I have a problem of installing firebase dependencies in pubspec.yaml file. It gave an error. I tried many ways and I couldn't figure it out. any help ? This is an error code from bub I got
CodePudding user response:
Try changing the package version of url_launcher:6.1.0 https://pub.dev/packages/url_launcher I hope this will help you.
CodePudding user response:
This error usually occurs when one plugin version is incompatible with another plugin it depends on.
To resolve the issue, make sure both plugin versions are compatible; and in this, case, you should update update url_launcher
to url_launcher: ^6.1.0
.