google_map_location_picker icon indicating copy to clipboard operation
google_map_location_picker copied to clipboard

pub get failed

Open athul-ain opened this issue 4 years ago • 6 comments

Running "flutter pub get" in [APP_NAME]...
Because no versions of cloud_firestore match >1.0.0 <2.0.0 and cloud_firestore 1.0.0 depends on cloud_firestore_platform_interface ^4.0.0, cloud_firestore ^1.0.0 requires cloud_firestore_platform_interface ^4.0.0.

And because no versions of cloud_firestore_platform_interface match >4.0.0 <5.0.0, cloud_firestore ^1.0.0 requires cloud_firestore_platform_interface 4.0.0. And because cloud_firestore_platform_interface 4.0.0 depends on plugin_platform_interface ^2.0.0 and geolocator_platform_interface <2.0.0-nullsafety.0 depends on plugin_platform_interface ^1.0.2, cloud_firestore ^1.0.0 is incompatible with geolocator_platform_interface <2.0.0-nullsafety.0.

And because google_map_location_picker >=4.1.3 depends on geolocator ^6.1.14 which depends on geolocator_platform_interface ^1.0.8, cloud_firestore ^1.0.0 is incompatible with google_map_location_picker >=4.1.3. So, because [APP_NAME] depends on both google_map_location_picker ^4.1.7 and cloud_firestore ^1.0.0, version solving failed.

pub get failed (1; So, because [APP_NAME] depends on both google_map_location_picker ^4.1.7 and cloud_firestore ^1.0.0, version solving failed.) exit code 1

athul-ain avatar Mar 08 '21 03:03 athul-ain

I'm also got the same pub get failed Because google_map_location_picker >=4.1.3 <4.1.7 depends on google_maps_flutter ^1.1.1 and zomy depends on google_maps_flutter ^0.5.29, google_map_location_picker >=4.1.3 <4.1.7 is forbidden. So, because zomy depends on google_map_location_picker 4.1.6, version solving failed. pub get failed (1; So, because zomy depends on google_map_location_picker 4.1.6, version solving failed.)

Aravind-Tamizh avatar Mar 08 '21 04:03 Aravind-Tamizh

I also got some upgrade-compatibility issues:

Because no versions of google_map_location_picker match >4.1.7 <5.0.0 and google_map_location_picker 4.1.7 depends on geolocator ^6.1.14, google_map_location_picker ^4.1.7 requires geolocator ^6.1.14. Because geolocator >=6.1.4 <7.0.0-nullsafety.0 depends on geolocator_platform_interface ^1.0.8 which depends on plugin_platform_interface ^1.0.2, geolocator >=6.1.4 <7.0.0-nullsafety.0 requires plugin_platform_ interface ^1.0.2.

Thus, google_map_location_picker ^4.1.7 requires plugin_platform_interface ^1.0.2. And because flutter_keyboard_visibility >=5.0.0 depends on flutter_keyboard_visibility_platform_interface ^2.0.0 which depends on plugin_platform_interface ^2.0.0, google_map_location_picker ^4.1.7 is incompati ble with flutter_keyboard_visibility >=5.0.0.

rubenaster avatar Mar 15 '21 08:03 rubenaster

I have the same issue as the author

rednikisfun avatar Apr 11 '21 11:04 rednikisfun

"Because google_map_location_picker ^4.1.7 depends on geolocator ^6.1.14, geolocator ^6.1.14 is required."

I upgraded geolocator to 7.2.0 version. Furthermore google_map_location_picker isn't Null Safety. I think the author should upgrade it. Actually is unuseful

elpanas avatar Jun 26 '21 08:06 elpanas

adding dependency override to pubspec.yaml solved my problem.

dependency_overrides: 
 geolocator: ^7.4.0

xyzbilal avatar Aug 17 '21 19:08 xyzbilal

I released https://pub.dev/packages/map_location_picker with fixed null safety. Could you check that everything works for you?

itsarvinddev avatar May 07 '22 23:05 itsarvinddev