liujiakuoyx / leak_detector

flutter memory leak detector.
BSD 2-Clause "Simplified" License
133 stars 24 forks source link

Fluter 3.3: Need to update Update vm_service dependency #11

Closed danielgomezrico closed 1 year ago

danielgomezrico commented 2 years ago

To update to flutter 3.3.2 it throws me this error:

Because every version of flutter_driver from sdk depends on vm_service 9.0.0 and leak_detector 1.0.1+4 depends on vm_service ^8.1.0, flutter_driver from sdk is incompatible with leak_detector 1.0.1+4.
So, because client depends on both leak_detector 1.0.1+4 and flutter_driver from sdk, version solving failed.
pub get failed (1; So, because client depends on both leak_detector 1.0.1+4 and flutter_driver from sdk, version solving failed.)
hmhung2531991 commented 1 year ago

I also facing same problem, any member in team help

liujiakuoyx commented 1 year ago

You can try add dependency_overrides to pubspec.yaml.

dependency_overrides:
  vm_service: 9.0.0
danielgomezrico commented 1 year ago

Thanks @liujiakuoyx, that seems like a temporal solution, is there anything to do to avoid having to force that?