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

Update sdk version #93

Closed
DCrow opened this issue Aug 30, 2018 · 2 comments
Closed

Update sdk version #93

DCrow opened this issue Aug 30, 2018 · 2 comments

Comments

@DCrow
Copy link

DCrow commented Aug 30, 2018

Trying to run flutter run in example.
Getting

Running "flutter packages get" in flutter_map_example...
The current Dart SDK version is 2.1.0-dev.1.0.flutter-ccb16f7282.

Because flutter_map_example depends on flutter_map from path which requires SDK version >=1.19.0 <2.0.0, version solving failed.

pub get failed (1)

Is it possible to update pubspec.yaml to allow new SDK ?

@devjv
Copy link

devjv commented Sep 2, 2018

👍
Solved for now by editing the pubspec.yaml of a locally cached version or forking this and doing the same.

Local version should live in your pub cache, a path like this:
.pub-cache/hosted/pub.dartlang.org/flutter_map-0.0.11+1

Info how to use local or Github version of a Dart package here.

@johnpryan
Copy link
Collaborator

fixed in version 0.1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants