Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Pub get fails on gallery head and stable flutter #452

Closed
xster opened this issue Mar 5, 2021 · 3 comments
Closed

Pub get fails on gallery head and stable flutter #452

xster opened this issue Mar 5, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@xster
Copy link
Member

xster commented Mar 5, 2021

Flutter is at

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.1, on macOS 11.2.2 20D80 darwin-x64, locale en)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio
[✓] Android Studio (version 4.1)
[✓] VS Code (version 1.53.2)
[✓] Connected device (3 available)

• No issues found!

Running flutter pub get on 4bd1b86 returns

Because gallery depends on flutter_driver any from sdk which depends on args 1.6.0, args 1.6.0 is required.
So, because gallery depends on args ^2.0.0, version solving failed.
Running "flutter pub get" in gallery...
pub get failed (1; So, because gallery depends on args ^2.0.0, version solving failed.)
@xster xster added the bug Something isn't working label Mar 5, 2021
@JackLeo
Copy link

JackLeo commented Mar 9, 2021

Same on last tag checkout https:/flutter/gallery/releases/tag/v2.8.1

@hitokiri82
Copy link

I ran into the same issue. Changing to flutter master instead of stable fixed it:

flutter channel master
flutter upgrade

@guidezpl
Copy link
Member

Using the flutter master channel is by design, see the README.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants