Flutter dependency_overrides flutter pub get

Encountered an interesting build problem that was actually solved by reconfiguring dependencies.

The solution to this problem was actually an upgrade of Flutter itself.

flutter upgrade


Problem statement

When you try to run command.

flutter pub get

Then you will get this error message.

Because auto_v_b_e depends on flutter_localizations from sdk which depends on intl 0.18.0, intl 0.18.0 is required.
So, because auto_v_b_e depends on intl 0.18.1, version solving failed.

In most cases, the upgrade of Flutter itself is necessary. flutter upgrade  

But but sometimes you have to change configuration. 

cd
/Documents/autov.be/FlutterFlow/autovbe


vim pubspec.yaml


dependency_overrides

intl: any





Comments