humazed / google_map_location_picker

🌍 Map location picker component for flutter Based on google_maps_flutter
Apache License 2.0
206 stars 310 forks source link

pub get failed #145

Open athul-ain opened 3 years ago

athul-ain commented 3 years ago

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

Aravind-Tamizh commented 3 years ago

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.)

rubenaster commented 3 years ago

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 pluginplatform 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.

rednikisfun commented 3 years ago

I have the same issue as the author

elpanas commented 3 years ago

"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

xyzbilal commented 3 years ago

adding dependency override to pubspec.yaml solved my problem.

dependency_overrides: 
 geolocator: ^7.4.0
rvndsngwn commented 2 years ago

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