Plugin should use flutter packages get instead of pub get
See original GitHub issueWhen editing the pubspec file, intelliJ tries to run pub get
to update deps, and by doing so, the following error gets output:
Resolving dependencies...
The Flutter SDK is not available.
Depended on by:
- flutter_sample
Instead of running pub get, it should run flutter packages get
/ upgrade
Issue Analytics
- State:
- Created 7 years ago
- Reactions:3
- Comments:19 (9 by maintainers)
Top Results From Across the Web
Flutter users should run `flutter packages get` instead of `pub ...
Go to the top menu 'Tools > Flutter >flutter package get and click on it ,it will find the things those are missing....
Read more >Using packages - Flutter documentation
The Flutter Favorites page on pub.dev lists the plugins and packages that have been identified as packages you should first consider using when...
Read more >Plain dart project tries to run flutter packages instead of pub.
I've created a plain vanilla dart package project. I have issues with what appears to be the flutter plugin intruding into this pure...
Read more >flutter_plugin_tools | Dart Package - Pub.dev
In flutter/plugins, the tool is run from source. In flutter/packages, the published version is used instead. (It is marked as Discontinued since it...
Read more >dart pub get
If you don't want pub to do that, pass it the --offline flag. In offline mode, pub looks only in your local package...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For IntelliJ IDEA 2016.3 EAP minimal Dart plugin version that does ‘pub get’ correctly for Flutter is 163.6957.3, @Pacane please update the IDE, you’ll get the updated plugin as well.
@pq I’ll be reminding every day that my pull request fixes the issue of diverged Dart and Flutter SDKs. 😃 With it applied you may completely remove
SdkConfigurationNotificationProvider
, it won’t be ever triggered any more.