Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flutter version problem #119

Open
hancens1024 opened this issue Sep 22, 2023 · 0 comments
Open

flutter version problem #119

hancens1024 opened this issue Sep 22, 2023 · 0 comments
Labels
quick (Label used internally)

Comments

@hancens1024
Copy link

/Users/hancens/fvm/default/bin/flutter --no-color pub get
Resolving dependencies...
Note: material_color_utilities is pinned to version 0.5.0 by flutter_test from the flutter SDK.
See https://dart.dev/go/sdk-version-pinning for details.

Because every version of flutter_test from sdk depends on material_color_utilities 0.5.0 and mobile depends on material_color_utilities 0.8.0, flutter_test from sdk is forbidden.
So, because mobile depends on flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on material_color_utilities: flutter pub add material_color_utilities:^0.5.0
@pennzht pennzht added the quick (Label used internally) label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quick (Label used internally)
Projects
None yet
Development

No branches or pull requests

2 participants