Repository: flutter
Issue: pub get failed (1)
Labels: tool,dependency: dart,P2,team-tool,triaged-tool

I'm trying to run Flutter app but I can't. I can't neither get packages.

## Logs

```
D:\Programmazione\Flutter\flutter_app>flutter run -v

[  +31 ms] executing: [D:\Programmazione\Flutter\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +98 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [D:\Programmazione\Flutter\flutter\] git rev-parse --abbrev-ref HEAD
[  +66 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[        ] executing: [D:\Programmazione\Flutter\flutter\] git ls-remote --get-url origin
[  +62 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] executing: [D:\Programmazione\Flutter\flutter\] git log -n 1 --pretty=format:%H
[  +63 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] e99c881f8d0e63042af6e2a3f6182c3ca6967442
[        ] executing: [D:\Programmazione\Flutter\flutter\] git log -n 1 --pretty=format:%ar
[  +64 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[   +1 ms] 3 days ago
[   +1 ms] executing: [D:\Programmazione\Flutter\flutter\] git describe --match v*.*.* --first-parent --long --tags
[  +84 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.2.0-197-ge99c881
[ +193 ms] executing: D:\Local\Android\Sdk\platform-tools\adb devices -l
[  +37 ms] Exit code 0 from: D:\Local\Android\Sdk\platform-tools\adb devices -l
[        ] List of devices attached
           ce12160cdb9eac0f05     device product:hero2ltexx model:SM_G935F device:hero2lte transport_id:1
[ +255 ms] D:\Local\Android\Sdk\platform-tools\adb -s ce12160cdb9eac0f05 shell getprop
[ +128 ms] ro.hardware = samsungexynos8890
[ +839 ms] Launching lib/main.dart on SM G935F in debug mode...
[  +27 ms] Initializing gradle...
[   +2 ms] Using gradle from D:\Programmazione\Flutter\flutter_app\android\gradlew.bat.
[ +164 ms] executing: D:\Programmazione\Flutter\flutter_app\android\gradlew.bat -v
[ +968 ms]
                    ------------------------------------------------------------
                    Gradle 4.10.2
                    ------------------------------------------------------------

                    Build time:   2018-09-19 18:10:15 UTC
                    Revision:     b4d8d5d170bb4ba516e88d7fe5647e2323d791dd

                    Kotlin DSL:   1.0-rc-6
                    Kotlin:       1.2.61
                    Groovy:       2.4.15
                    Ant:          Apache Ant(TM) version 1.9.11 compiled on March 23 2018
                    JVM:          1.8.0_152-release (JetBrains s.r.o 25.152-b01)
                    OS:           Windows 10 10.0 amd64


[  +12 ms] "flutter run" took 2.489ms.
[        ] "flutter run" took 2.489ms.

Oops; flutter has exited unexpectedly.
Sending crash report to Google.
Crash report sent (report ID: d6ac79dde905bda6)
Crash report written to D:\Programmazione\Flutter\flutter_app\flutter_07.log;
please let us know at https://github.com/flutter/flutter/issues.
```

```
D:\Programmazione\Flutter\flutter_app>flutter doctor -v

[√] Flutter (Channel master, v1.2.1-pre.197, on Windows, locale it-IT)
    • Flutter version 1.2.1-pre.197 at D:\Programmazione\Flutter\flutter
    • Framework revision e99c881f8d (3 days ago), 2019-02-14 16:08:26 +0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at D:\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = D:\Local\Android\Sdk
    • Java binary at: D:\Programmi\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[√] Android Studio (version 3.3)
    • Android Studio at D:\Programmi\Android\Android Studio
    • Flutter plugin version 33.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[√] Connected device (1 available)
    • SM G935F • ce12160cdb9eac0f05 • android-arm64 • Android 8.0.0 (API 26)

• No issues found!
```

```
D:\Programmazione\Flutter\flutter_app>flutter packages get -v

[  +21 ms] executing: [D:\Programmazione\Flutter\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +66 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [D:\Programmazione\Flutter\flutter\] git rev-parse --abbrev-ref HEAD
[  +47 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] master
[        ] executing: [D:\Programmazione\Flutter\flutter\] git ls-remote --get-url origin
[  +42 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] executing: [D:\Programmazione\Flutter\flutter\] git log -n 1 --pretty=format:%H
[  +44 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] e99c881f8d0e63042af6e2a3f6182c3ca6967442
[        ] executing: [D:\Programmazione\Flutter\flutter\] git log -n 1 --pretty=format:%ar
[  +45 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 3 days ago
[        ] executing: [D:\Programmazione\Flutter\flutter\] git describe --match v*.*.* --first-parent --long --tags
[  +54 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.2.0-197-ge99c881
[ +126 ms] Running "flutter packages get" in flutter_app...
[   +4 ms] Using D:\Programmazione\Flutter\flutter\.pub-cache for the pub cache.
[   +1 ms] executing: [D:\Programmazione\Flutter\flutter_app\] D:\Programmazione\Flutter\flutter\bin\cache\dart-sdk\bin\pub.bat --verbosity=warning --verbose get --no-precompile
[ +389 ms] Running "flutter packages get" in flutter_app... (completed in 0,4s)
[   +1 ms] "flutter get" took 493ms.
[        ] "flutter get" took 493ms.
pub get failed (1)

#0      throwToolExit (package:flutter_tools/src/base/common.dart:24:3)
#1      pub (package:flutter_tools/src/dart/pub.dart:170:5)
<asynchronous suspension>
#2      pubGet (package:flutter_tools/src/dart/pub.dart:104:13)
<asynchronous suspension>
#3      PackagesGetCommand._runPubGet (package:flutter_tools/src/commands/packages.dart:59:11)
<asynchronous suspension>
#4      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:82:11)
<asynchronous suspension>
#5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:545:18)
#6      _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#7      _rootRunUnary (dart:async/zone.dart:1132:38)
#8      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#9      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#10     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#11     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#12     Future._complete (dart:async/future_impl.dart:473:7)
#13     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#14     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#15     _rootRun (dart:async/zone.dart:1124:13)
#16     _CustomZone.run (dart:async/zone.dart:1021:19)
#17     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#18     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#19     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#20     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#21     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)
```