Confusion around `pub get` prompt
See original GitHub issueSometimes, after updating pubspec.yaml in IntelliJ, we just see the Dart banner prompting to update dependencies. The Flutter banner w/ slightly different appearance and wording (“Get Dependencies”) never displays.
My understanding is the vanilla Dart version of the command (pub get
) is not exactly equivalent to flutter packages get
which aside from the UX inconsistency, might be a more serious issue.
Steps to Reproduce
- Open pubspec.yaml, either in IntelliJ or in a text editor.
- Make edits and switch to main.dart in IntelliJ.
- Sometimes get Dart version of the “update dependencies” banner in IntelliJ, rather than the Flutter version (which is not exactly equivalent).
Version info
This behavior was seen on the I/O kiosks.
flutter doctor output (from non-kiosk environment):
[✓] Flutter (on Mac OS X 10.12.4 16E195, channel master)
• Flutter at /Users/jackson/git/flutter
• Framework revision 7154ac48db (4 hours ago), 2017-05-16 09:32:27 -0700
• Engine revision 6fef702cfa
• Tools Dart version 1.23.0-dev.11.11
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.3)
• Android SDK at /Users/jackson/Library/Android/sdk/
• Platform android-25, build-tools 25.0.3
• ANDROID_HOME = /Users/jackson/Library/Android/sdk/
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.1, Build version 8E1000a
• ios-deploy 1.9.1
• CocoaPods version 1.0.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Gradle version 3.2
• Java version: OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2016.3.4)
• Dart plugin version 163.13137
• Flutter plugin version 12.1
[✓] Connected devices
• iPhone 7 Plus • 5F90A4C3-6F80-446A-88CB-5394635BF8EF • ios • iOS 10.3 (simulator)
Issue Analytics
- State:
- Created 6 years ago
- Comments:24 (18 by maintainers)
Top Results From Across the Web
Flutter packages get does not install new package
Solution: Run the command prompt in Administrator mode. Go to your project directory and run command flutter clean after that run flutter pub ......
Read more >Confusion: Causes, Treatment & When to Seek Help - Healthline
Noticing confusion when it first appears will help you or your loved one get prompt treatment. Some signs of confusion include: slurring words...
Read more >ESG Confusion Prompts Watchdog's Demand for Rethink of ...
The new requirement means financial firms must make sure they understand the ESG preferences of retail investors, and actually deliver on them.
Read more >The National Early Warning Score and the acutely confused ...
This 'confusion' about how to use the AVPU scale in an acutely confused patient who was otherwise alert, was a concern because new-onset...
Read more >Fury over pubs rule prompts exasperation in Government over ...
Industry representatives said there was still confusion around the regulations despite the clarifications and there was still no advice on ...
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
I very much hope (and assume) that 2017.1 is what’s on the kiosks. That flutter doctor output above was not from a kiosk machine, but from Elaine’s local machine.
+1 to updating flutter doctor to having a min version of 2017.1.
@LarkAscending, you’ll definitely want to update your local IntelliJ - 2016.3 is older than we want - we want 2017.1 now as our minimum.