blob: aad75d00fd77bc101c1def36b89a67c4dd998d9c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
## command
flutter packages get
## exception
YamlException: Error on line 9, column 3: Expected ':'.
flutter:
^
```
#0 Scanner._staleSimpleKeys (package:yaml/src/scanner.dart:491)
#1 Scanner._fetchMoreTokens (package:yaml/src/scanner.dart:325)
#2 Scanner.peek (package:yaml/src/scanner.dart:317)
#3 Parser._parseBlockMappingKey (package:yaml/src/parser.dart:418)
#4 Parser._stateMachine (package:yaml/src/parser.dart:86)
#5 Parser.parse (package:yaml/src/parser.dart:47)
#6 Loader._loadMapping (package:yaml/src/loader.dart:171)
#7 Loader._loadNode (package:yaml/src/loader.dart:86)
#8 Loader._loadMapping (package:yaml/src/loader.dart:165)
#9 Loader._loadNode (package:yaml/src/loader.dart:86)
#10 Loader._loadDocument (package:yaml/src/loader.dart:62)
#11 Loader.load (package:yaml/src/loader.dart:54)
#12 loadYamlDocument (package:yaml/yaml.dart:51)
#13 loadYamlNode (package:yaml/yaml.dart:42)
#14 loadYaml (package:yaml/yaml.dart:34)
#15 _pluginFromPubspec (package:flutter_tools/src/plugins.dart:52)
#16 _findPlugins.<anonymous closure> (package:flutter_tools/src/plugins.dart:75)
#17 _HashVMBase&MapMixin&&_LinkedHashMapMixin.forEach (dart:collection-patch/dart:collection/compact_hash.dart:363)
#18 _findPlugins (package:flutter_tools/src/plugins.dart:73)
#19 injectPlugins (package:flutter_tools/src/plugins.dart:234)
#20 FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:62)
#21 PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:85)
<asynchronous suspension>
#22 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:344)
<asynchronous suspension>
#23 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:279)
<asynchronous suspension>
#24 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#25 _rootRun (dart:async/zone.dart:1126)
#26 _CustomZone.run (dart:async/zone.dart:1023)
#27 runZoned (dart:async/zone.dart:1501)
#28 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#29 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:270)
#30 CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#31 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:309)
<asynchronous suspension>
#32 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#33 _rootRun (dart:async/zone.dart:1126)
#34 _CustomZone.run (dart:async/zone.dart:1023)
#35 runZoned (dart:async/zone.dart:1501)
#36 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#37 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:265)
<asynchronous suspension>
#38 CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#39 new Future.sync (dart:async/future.dart:222)
#40 CommandRunner.run (package:args/command_runner.dart:109)
#41 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:174)
#42 run.<anonymous closure> (package:flutter_tools/runner.dart:59)
<asynchronous suspension>
#43 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#44 _rootRun (dart:async/zone.dart:1126)
#45 _CustomZone.run (dart:async/zone.dart:1023)
#46 runZoned (dart:async/zone.dart:1501)
#47 AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#48 runInContext (package:flutter_tools/src/context_runner.dart:43)
<asynchronous suspension>
#49 run (package:flutter_tools/runner.dart:50)
#50 main (package:flutter_tools/executable.dart:49)
<asynchronous suspension>
#51 main (file:///b/build/slave/Linux_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8)
#52 _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#53 _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)
```
## flutter doctor
```
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
• Flutter version 0.5.1 at /opt/flutter
• Framework revision c7ea3ca377 (8 weeks ago), 2018-05-29 21:07:33 +0200
• Engine revision 1ed25ca7b7
• Dart version 2.0.0-dev.58.0.flutter-f981f09760
[!] Android toolchain - develop for Android devices (Android SDK 26.0.2)
• Android SDK at /opt/android-sdk/
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 26.0.2
• ANDROID_HOME = /opt/android-sdk
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_172-b11)
✗ Android license status unknown.
[✗] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.io/setup/#android-setup for detailed instructions).
[!] IntelliJ IDEA Ultimate Edition (version 2018.1)
• IntelliJ at /opt/intellij-idea-ultimate-edition
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.io/intellij-setup/#installing-the-plugins
[!] VS Code (version 1.24.1)
• VS Code at /usr/share/code
• Flutter extension not installed; install from
https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected devices (1 available)
• ONE E1003 • 2bb416ea • android-arm • Android 8.1.0 (API 27)
! Doctor found issues in 4 categories.
```
|