-
Notifications
You must be signed in to change notification settings - Fork 0
/
flutter_01.log
116 lines (100 loc) · 6.39 KB
/
flutter_01.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
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
Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
## command
flutter run --machine --start-paused -d chrome --devtools-server-address http://127.0.0.1:9100/ --target /home/akhilesh/flutter_projects/ridesense_location_app/lib/main.dart
## exception
SocketException: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 48694
```
#0 _NativeSocket.startConnect (dart:io-patch/socket_patch.dart:721:35)
#1 _RawSocket.startConnect (dart:io-patch/socket_patch.dart:1920:26)
#2 RawSocket.startConnect (dart:io-patch/socket_patch.dart:27:23)
#3 Socket._startConnect (dart:io-patch/socket_patch.dart:2144:22)
#4 Socket.startConnect (dart:io/socket.dart:825:21)
#5 _ConnectionTarget.connect (dart:_http/http_impl.dart:2491:20)
#6 _HttpClient._getConnection.connect (dart:_http/http_impl.dart:2930:12)
#7 _HttpClient._getConnection (dart:_http/http_impl.dart:2935:12)
#8 _HttpClient._openUrl (dart:_http/http_impl.dart:2790:12)
#9 _HttpClient.getUrl (dart:_http/http_impl.dart:2632:48)
#10 ChromeConnection.getUrl (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:108:33)
#11 ChromeConnection.getTabs (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:53:26)
#12 ChromeConnection.getTab (package:webkit_inspection_protocol/webkit_inspection_protocol.dart:90:31)
<asynchronous suspension>
#13 Chromium.close (package:flutter_tools/src/web/chrome.dart:510:30)
<asynchronous suspension>
#14 ChromiumDevice.stopApp (package:flutter_tools/src/web/web_device.dart:164:5)
<asynchronous suspension>
#15 ResidentWebRunner._cleanup (package:flutter_tools/src/isolated/resident_web_runner.dart:203:5)
<asynchronous suspension>
#16 ResidentWebRunner.cleanupAtFinish (package:flutter_tools/src/isolated/resident_web_runner.dart:191:5)
<asynchronous suspension>
#17 ResidentRunner.waitForAppToFinish (package:flutter_tools/src/resident_runner.dart:1482:5)
<asynchronous suspension>
#18 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:788:26)
<asynchronous suspension>
#19 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1408:27)
<asynchronous suspension>
#20 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#21 CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#22 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:420:9)
<asynchronous suspension>
#23 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#24 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:5)
<asynchronous suspension>
#25 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:130:9)
<asynchronous suspension>
#26 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
<asynchronous suspension>
#27 main (package:flutter_tools/executable.dart:93:3)
<asynchronous suspension>
```
## flutter doctor
```
[!] Flutter (Channel stable, 3.24.0, on Ubuntu 22.04.5 LTS 6.8.0-45-generic, locale en_IN)
• Flutter version 3.24.0 on channel stable at /home/akhilesh/Downloads/flutter
! Warning: `flutter` on your path resolves to /usr/bin/snap, which is not inside your current Flutter SDK checkout at /home/akhilesh/Downloads/flutter. Consider adding /home/akhilesh/Downloads/flutter/bin to the front of your path.
! Warning: `dart` on your path resolves to /usr/bin/snap, which is not inside your current Flutter SDK checkout at /home/akhilesh/Downloads/flutter. Consider adding /home/akhilesh/Downloads/flutter/bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (10 weeks ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /home/akhilesh/Android/Sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /snap/android-studio/161/jbr/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✗] Linux toolchain - develop for Linux desktop
✗ clang++ is required for Linux development.
It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
✗ CMake is required for Linux development.
It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
✗ ninja is required for Linux development.
It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
✗ pkg-config is required for Linux development.
It is likely available from your distribution (e.g.: apt install pkg-config), or can be downloaded from https://www.freedesktop.org/wiki/Software/pkg-config/
[✓] Android Studio (version 2024.1)
• Android Studio at /snap/android-studio/161
• Flutter plugin version 81.0.2
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105)
[✓] VS Code (version 1.93.1)
• VS Code at /usr/share/code
• Flutter extension version 3.99.20240930
[✓] VS Code (version 1.94.0)
• VS Code at /snap/code/current/usr/share/code
• Flutter extension version 3.99.20240930
[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • Ubuntu 22.04.5 LTS 6.8.0-45-generic
• Chrome (web) • chrome • web-javascript • Google Chrome 129.0.6668.70
[✓] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.
```