-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflutter_02.log
90 lines (77 loc) · 4.62 KB
/
flutter_02.log
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
Flutter crash report; please file at https://github.com/flutter/flutter/issues.
## command
flutter attach -d 07B68583-FF40-4A8F-B106-2C807C374BCF
## exception
NoSuchMethodError: NoSuchMethodError: The getter 'port' was called on null.
Receiver: null
Tried calling: port
```
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
#1 AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:219:78)
<asynchronous suspension>
#2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:559:18)
#3 _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#4 _rootRunUnary (dart:async/zone.dart:1132:38)
#5 _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6 _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#7 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#8 Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#9 Future._complete (dart:async/future_impl.dart:473:7)
#10 _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11 _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#12 _rootRun (dart:async/zone.dart:1124:13)
#13 _CustomZone.run (dart:async/zone.dart:1021:19)
#14 _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#15 _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#16 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#17 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#18 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)
```
## flutter doctor
```
[32m[✓][39m Flutter (Channel beta, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale zh-Hans-CN)
[32m•[39m Flutter version 1.5.4-hotfix.2 at /Users/dwb/Documents/flutter
[32m•[39m Framework revision 7a4c33425d (2 weeks ago), 2019-04-29 11:05:24 -0700
[32m•[39m Engine revision 52c7a1e849
[32m•[39m Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[33m[!][39m Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[32m•[39m Android SDK at /Users/dwb/Documents/Android/sdk
[32m•[39m Android NDK at /Users/dwb/Documents/Android/sdk/ndk-bundle
[32m•[39m Platform android-28, build-tools 28.0.3
[32m•[39m ANDROID_HOME = /Users/dwb/Documents/Android/sdk
[32m•[39m Java binary at: /Applications/Android Studio 2.app/Contents/jre/jdk/Contents/Home/bin/java
[32m•[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[33m![39m Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[33m[!][39m iOS toolchain - develop for iOS devices (Xcode 9.4)
[32m•[39m Xcode at /Users/dwb/Documents/Software/Xcode-beta.app/Contents/Developer
[32m•[39m Xcode 9.4, Build version 9Q1004a
[31m✗[39m libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
brew update
brew install --HEAD usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
[31m✗[39m ios-deploy not installed. To install:
brew install ios-deploy
[31m✗[39m CocoaPods not installed.
CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
For more info, see https://flutter.dev/platform-plugins
To install:
brew install cocoapods
pod setup
[32m[✓][39m Android Studio (version 3.1)
[32m•[39m Android Studio at /Applications/Android Studio.app/Contents
[32m•[39m Flutter plugin version 28.0.1
[32m•[39m Dart plugin version 173.4700
[32m•[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
[32m[✓][39m Android Studio (version 3.4)
[32m•[39m Android Studio at /Applications/Android Studio 2.app/Contents
[32m•[39m Flutter plugin version 35.3.1
[32m•[39m Dart plugin version 183.6270
[32m•[39m Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[32m[✓][39m Connected device (2 available)
[32m•[39m MI 8 • 17892555 • android-arm64 • Android 9 (API 28)
[32m•[39m iPhone X • 07B68583-FF40-4A8F-B106-2C807C374BCF • ios • iOS 11.4 (simulator)
[33m![39m Doctor found issues in 2 categories.
```