Flutter dependency error with google_map_location_picker - flutter

I am getting the following error on version solving with google_map_location_picker:
Because google_map_location_picker 3.3.3 depends on intl >=0.16.0
<=0.16.1 and every version of flutter_localizations from sdk depends
on intl 0.17.0, google_map_location_picker 3.3.3 is incompatible with
flutter_localizations from sdk. So, because food_delivery_app depends
on both flutter_localizations any from sdk and
google_map_location_picker 3.3.3, version solving failed. pub get
failed (1; So, because food_delivery_app depends on both
flutter_localizations any from sdk and google_map_location_picker
3.3.3, version solving failed.)

In the pubspec.yaml file set the version of google_map_location_picker to any (google_map_location_picker: any) then go to the pubspec.lock file and check the version of google_map_location_picker which solves the error.

Related

Which verson of firebase auth lib requires plugin interface of 1.0.2?

Running "flutter pub get" in textrecognizer...
Because firebase_auth >=4.2.8 depends on firebase_auth_platform_interface ^6.11.10 which depends on plugin_platform_interface ^2.1.3, firebase_auth >=4.2.8 requires plugin_platform_interface ^2.1.3.
And because image_picker >=0.6.7 <0.7.0-nullsafety depends on image_picker_platform_interface ^1.1.0 which depends on plugin_platform_interface ^1.0.2, firebase_auth >=4.2.8 is incompatible with image_picker >=0.6.7 <0.7.0-nullsafety.
So, because textrecognizer depends on both image_picker ^0.6.7+6 and firebase_auth ^4.2.8, version solving failed.
pub get failed (1; So, because textrecognizer depends on both image_picker ^0.6.7+6 and firebase_auth ^4.2.8, version solving failed.)
I need the 0.6.7+6 version of image_picker library so I cannot change that. Maybe any suggestions to change firebase_auth version to make it compatible with the version of image_picker?
I tried minimizing the version of firebase_Auth and it still didn't work

pubspec.yaml have version solving issues. HTML, SVG, RANDOM AVTAR plugins have version issue

after upgrade flutter 3 I am facing this version solving issue.
HTML version not sported SVG
if I am choosing SVG different version so RANDOM_AVTAR is not sported.
both plugin sported or dependent on different version an I need all this how can I control this versions.
ERRORS:
Because every version of random_avatar depends on flutter_svg ^1.0.3 and demo depends on flutter_svg 0.23.0, random_avatar is forbidden.
So, because demo depends on random_avatar ^0.0.2, version solving failed.
pub get failed (1; So, because demo depends on random_avatar ^0.0.2, version solving failed.)
Running "flutter pub get" in fluter...
Because demo depends on flutter_html ^2.1.5 which depends on flutter_svg >=0.22.0 <1.0.0, flutter_svg >=0.22.0 <1.0.0 is required.
So, because demo depends on flutter_svg ^1.0.3, version solving failed.
pub get failed (1; So, because demo depends on flutter_svg ^1.0.3, version solving failed.)
Just for work around you can use
flutter_svg: ^1.1.6
flutter_html: 3.0.0-alpha.5
random_avatar: ^0.0.7

Flutter version issues when update to Flutter 2.0

All my classes are getting errors after updating.
I tried flutter clean as well. When ever i run flutter pub get command i get the following error.
Because no versions of intl_utils match >1.8.0 <1.9.0 and intl_utils ^1.9.0 depends on intl_translation 0.17.10+1, intl_utils >1.8.0 <2.0.0 requires intl_translation 0.17.10+1.
And because intl_utils 1.8.0 depends on intl_translation 0.17.10 which depends on intl >=0.15.3 <0.17.0, intl_utils ^1.8.0 requires intl >=0.15.3 <0.17.0 or intl_translation 0.17.10.
And because intl_translation 0.17.10 depends on intl >=0.15.3 <0.17.0 and every version of flutter_localizations from sdk depends on intl 0.17.0, intl_utils ^1.8.0 is incompatible with flutter_localizations from sdk.
So, because markets depends on both flutter_localizations any from sdk and intl_utils ^1.8.0, version solving failed.
pub get failed (1; So, because markets depends on both flutter_localizations any from sdk and intl_utils ^1.8.0, version solving failed.)
Yes, try to downgrade your flutter version. I had the same issue
flutter downgrade 1.22.6

Error on : Because every version of integration_test from sdk depends on vm_service 6.0.1-nullsafety.1 and dwds ^7.1.0 depends on vm_service 5.5.0,

I'm new to flutter and I've been having dependency issues on flutter Keep having this same error
Because every version of integration_test from sdk depends on vm_service 6.0.1-nullsafety.1 and dwds ^7.1.0 depends on vm_service 5.5.0, integration_test from sdk is incompatible with dwds ^7.1.0.
So, because brandapp depends on both dwds ^7.1.0 and integration_test any from sdk, version solving failed.
pub get failed (1; So, because brandapp depends on both dwds ^7.1.0 and integration_test any from sdk, version solving failed.)```

Flutter get error after update to 1.12.13+hotfix.5

I'm getting this error after I upgrade flutter.
Because no versions of datetime_picker_formfield match >0.4.3 <0.5.0 and datetime_picker_formfield 0.4.3 depends on intl ^0.15.8, datetime_picker_formfield ^0.4.3 requires intl ^0.15.8.
And because every version of flutter_localizations from sdk depends on intl 0.16.0, datetime_picker_formfield ^0.4.3 is incompatible with flutter_localizations from sdk.
So, because APP_NAME depends on both flutter_localizations any from sdk and datetime_picker_formfield ^0.4.3, version solving failed.
Please help.
Thanks.
Try adding these to your pubspec.yaml file:
dependency_overrides:
intl: ^0.16.0