Parth Patel
Parth Patel

Reputation: 115

fluttermaps depends on search_map_place ^0.3.0, version solving failed

I am trying to add Google Maps in Flutter but, I am getting this kind of error so, can you guys help me solve it.

Because search_map_place >=0.3.0 depends on http ^0.12.0+4 and fluttermaps depends on http ^0.13.5, search_map_place >=0.3.0 is forbidden.
So, because fluttermaps depends on search_map_place 0.3.0, version solving failed.
pub get failed (1; So, because fluttermaps depends on search_map_place 0.3.0, version solving failed.)

Upvotes: 0

Views: 832

Answers (1)

KRISHNU R S
KRISHNU R S

Reputation: 11

Remove the version numbers in pubspec.yaml

just put it like

search_map_place:
http:

and run pub get

Upvotes: 0

Related Questions