Version Control Issue

483 views
Skip to first unread message

HIMANSHU MISHRA

unread,
May 27, 2021, 5:06:48 AM5/27/21
to Flutter Development (flutter-dev)
Hello All,
How to handle this?

Because google_map_location_picker >=3.3.1 <4.1.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.1 <4.1.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.
Running "flutter pub get" in food_app...
solving failed.)
PS D:\HIMANSHU MISHRA\Demo Apps\food_app> flutter pub get
Because intl_utils >=1.6.3 <1.9.0 depends on intl_translation 0.17.10 which depends on intl >=0.15.3 <0.17.0, intl_utils >=1.6.3 <1.9.0 requires intl >=0.15.3 <0.17.0.
And because every version of flutter_localizations from sdk depends on intl 0.17.0, intl_utils >=1.6.3 <1.9.0 is incompatible with flutter_localizations from sdk.
So, because food_delivery_app depends on both flutter_localizations any from sdk and intl_utils 1.6.3, version solving failed.
Running "flutter pub get" in food_app...
pub get failed (1; So, because food_delivery_app depends on both flutter_localizations any from sdk and intl_utils 1.6.3, version solving failed.)      
PS D:\HIMANSHU MISHRA\Demo Apps\food_app> flutter pub get
The current Dart SDK version is 2.12.0.                                

    Because process >=4.0.0-nullsafety.1 <4.0.0-nullsafety.4 requires SDK version >=2.10.0-0.0 <2.12.0 and process >=4.0.0-nullsafety.4 <4.0.0 depends on platform ^3.0.0-nullsafety.4, process >=4.0.0-nullsafety.1 <4.0.0 requires platform ^3.0.0-nullsafety.4.
    And because process >=3.0.12 <4.0.0-nullsafety.1 depends on intl >=0.14.0 <0.17.0, process >=3.0.12 <=4.0.0-nullsafety.4 requires platform ^3.0.0-nullsafety.4 or intl >=0.14.0 <0.17.0.
    And because process >=4.0.0 depends on platform ^3.0.0 and firebase_messaging >=0.2.0 <7.0.2 depends on platform ^2.0.0, if firebase_messaging >=0.2.0 <7.0.2 and process >=3.0.12 then intl >=0.14.0 <0.17.0.
    Because xdg_directories >=0.1.2 <0.2.0-nullsafety.0 depends on process >=3.0.12 <5.0.0 and xdg_directories <0.1.2 depends on process ^3.0.12, xdg_directories <0.2.0-nullsafety.0 requires process >=3.0.12 <5.0.0.
    Thus, if firebase_messaging >=0.2.0 <7.0.2 and xdg_directories <0.2.0-nullsafety.0 then intl >=0.14.0 <0.17.0.
(1) So, because path_provider_linux <0.2.0-nullsafety depends on xdg_directories ^0.1.0, if firebase_messaging >=0.2.0 <7.0.2 and path_provider_linux <0.2.0-nullsafety then intl >=0.14.0 <0.17.0.

    Because shared_preferences_linux >=0.0.4-nullsafety <2.0.0 depends on shared_preferences_platform_interface ^2.0.0-nullsafety and shared_preferences_linux <=0.0.2 depends on path_provider ^1.6.11, shared_preferences_linux <0.0.2+1 or >=0.0.4-nullsafety <2.0.0-∞ requires shared_preferences_platform_interface ^2.0.0-nullsafety or path_provider ^1.6.11.
    And because path_provider >=1.6.10 <2.0.0-nullsafety depends on path_provider_linux ^0.0.1 and shared_preferences_linux >=0.0.2+1 <0.0.4-nullsafety
depends on path_provider_linux ^0.0.1, shared_preferences_linux <2.0.0 requires shared_preferences_platform_interface ^2.0.0-nullsafety or path_provider_linux ^0.0.1.
.2.0 <7.0.2 and shared_preferences_linux <2.0.0 then intl >=0.14.0 <0.17.0 or shared_preferences_platform_interface ^2.0.0-nullsafety.
    And because shared_preferences >=0.5.8 <2.0.0-nullsafety depends on shared_preferences_linux ^0.0.2 and shared_preferences >=0.5.4+8 <2.0.0-nullsafety depends on shared_preferences_platform_interface ^1.0.0, if firebase_messaging >=0.2.0 <7.0.2 and shared_preferences >=0.5.8 <2.0.0-nullsafety then intl >=0.14.0 <0.17.0.
    And because food_delivery_app depends on flutter_localizations any from sdk which depends on intl 0.17.0, firebase_messaging >=0.2.0 <7.0.2 is incompatible with shared_preferences >=0.5.8 <2.0.0-nullsafety.
    So, because food_delivery_app depends on both shared_preferences 0.5.10 and firebase_messaging 7.0.0, version solving failed.
Running "flutter pub get" in food_app...
pub get failed (1;     So, because food_delivery_app depends on both shared_preferences 0.5.10 and firebase_messaging 7.0.0, version solving failed.)  
PS D:\HIMANSHU MISHRA\Demo Apps\food_app> flutter pub get
Because xml >=4.4.0 <4.4.1 depends on petitparser ^3.1.0 and xml >=3.7.0 <4.4.0 depends on petitparser ^3.0.0, xml >=3.7.0 <4.4.1 requires petitparser ^3.0.0.
And because xml >=4.4.1 <5.0.0-nullsafety.1 depends on petitparser ^3.0.0 and flutter_svg >=0.18.1 <0.20.0-nullsafety.0 depends on xml ^4.2.0, flutter_svg >=0.18.1 <0.20.0-nullsafety.0 requires petitparser ^3.0.0.
And because intl_utils <1.6.3 depends on petitparser >=1.1.3 <3.0.0 and intl_utils >=2.0.0 depends on http ^0.13.0, if flutter_svg >=0.18.1 <0.20.0-nullsafety.0 and intl_utils <1.6.3-∞ or >=2.0.0 then http ^0.13.0.
Because intl_utils ^1.9.0 depends on intl_translation 0.17.10+1 and intl_utils >=1.6.3 <1.9.0 depends on intl_translation 0.17.10, intl_utils ^1.6.3 requires intl_translation 0.17.10 or 0.17.10+1.
Thus, if flutter_svg >=0.18.1 <0.20.0-nullsafety.0 and intl_utils any then http ^0.13.0 or intl_translation 0.17.10 or 0.17.10+1.
And because intl_translation >=0.17.7 depends on intl >=0.15.3 <0.17.0 and every version of flutter_localizations from sdk depends on intl 0.17.0, if flutter_svg >=0.18.1 <0.20.0-nullsafety.0 and intl_utils any and flutter_localizations any from sdk then http ^0.13.0.
And because food_delivery_app depends on both flutter_localizations any from sdk and http 0.12.2, flutter_svg >=0.18.1 <0.20.0-nullsafety.0 is incompatible with intl_utils.
So, because food_delivery_app depends on both flutter_svg 0.18.1 and intl_utils any, version solving failed.
Running "flutter pub get" in food_app...
pub get failed (1; So, because food_delivery_app depends on both flutter_svg 0.18.1 and intl_utils any, version solving failed.)

Please help me out.

Peter Ferenczy

unread,
May 27, 2021, 5:11:36 AM5/27/21
to Flutter Development (flutter-dev)
use another version of the library... or go back with flutter version..

HIMANSHU MISHRA

unread,
May 27, 2021, 5:13:45 AM5/27/21
to Peter Ferenczy, Flutter Development (flutter-dev)
This is an old project. And my Dart SDK version is 2.12 and I am using
environment:
  sdk">=2.2.2 <3.0.0"

in the App. So, suggest what should I do?

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/f1ec415b-f48e-48d2-ad4b-aca703f1c638n%40googlegroups.com.

Benedicte Roussel

unread,
May 27, 2021, 12:38:31 PM5/27/21
to HIMANSHU MISHRA, Peter Ferenczy, Flutter Development (flutter-dev)
Logically and hopefully those packages should have been updated since then, so you should update the version of the packages.


Le jeu., mai 27, 2021 à 11:13, HIMANSHU MISHRA
Reply all
Reply to author
Forward
0 new messages