-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflutter_01.log
64 lines (51 loc) · 2.07 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
Flutter crash report.
Please report a bug at https://github.com/flutter/flutter/issues.
## command
flutter run -d chrome
## exception
NoSuchMethodError: NoSuchMethodError: The getter 'isMacOSEnabled' was called on null.
Receiver: null
Tried calling: isMacOSEnabled
```
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1 nextPlatform (package:flutter_tools/src/resident_runner.dart:1703:24)
#2 ResidentWebRunner.debugTogglePlatform (package:flutter_tools/src/isolated/resident_web_runner.dart:309:31)
<asynchronous suspension>
#3 TerminalHandler.processTerminalInput (package:flutter_tools/src/resident_runner.dart:1644:7)
<asynchronous suspension>
```
## flutter doctor
```
[✓] Flutter (Channel stable, 2.2.3, on Linux, locale
en_US.UTF-8)
• Flutter version 2.2.3 at
/home/tri-user/snap/flutter/common/flutter
• Framework revision f4abaa0735 (3 weeks ago), 2021-07-01
12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the
Android SDK components.
(or visit
https://flutter.dev/docs/get-started/install/linux#android
-setup for detailed instructions).
If the Android SDK has been installed to a custom
location, please use
`flutter config --android-sdk` to update to that location.
[✓] Chrome - develop for the web
• CHROME_EXECUTABLE = /usr/bin/chromium-browser
[!] Android Studio (not installed)
• Android Studio not found; download from
https://developer.android.com/studio/index.html
(or visit
https://flutter.dev/docs/get-started/install/linux#android
-setup for detailed instructions).
[✓] Connected device (1 available)
• Chrome (web) • chrome • web-javascript • Chromium
91.0.4472.101 Built on Ubuntu , running on Ubuntu 18.04
! Doctor found issues in 2 categories.
```