chiya@ujimatsu:~$ sudo snap install flutter --classic
[sudo] password for chiya:
flutter 0+git.ccbc698 from Flutter Team✓ installed
chiya@ujimatsu:~$ flutter sdk-path
Initializing Flutter
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 173k 100 173k 0 0 791k 0 --:--:-- --:--:-- --:--:-- 791k
Downloading https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.7.3-stable.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 536M 100 536M 0 0 46.9M 0 0:00:11 0:00:11 --:--:-- 50.1M
Flutter initialized
Flutter 3.7.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 9944297138 (13 days ago) • 2023-02-08 15:46:04 -0800
Engine • revision 248290d6d5
Tools • Dart 2.19.2 • DevTools 2.20.1
╔════════════════════════════════════════════════════════════════════════════╗
║ Welcome to Flutter! - https://flutter.dev ║
║ ║
║ The Flutter tool uses Google Analytics to anonymously report feature usage ║
║ statistics and basic crash reports. This data is used to help improve ║
║ Flutter tools over time. ║
║ ║
║ Flutter tool analytics are not sent on the very first run. To disable ║
║ reporting, type 'flutter config --no-analytics'. To display the current ║
║ setting, type 'flutter config'. If you opt out of analytics, an opt-out ║
║ event will be sent, and then no further information will be sent by the ║
║ Flutter tool. ║
║ ║
║ By downloading the Flutter SDK, you agree to the Google Terms of Service. ║
║ Note: The Google Privacy Policy describes how data is handled in this ║
║ service. ║
║ ║
║ Moreover, Flutter includes the Dart SDK, which may send usage metrics and ║
║ crash reports to Google. ║
║ ║
║ Read about data we send with crash reports: ║
║ https://flutter.dev/docs/reference/crash-reporting ║
║ ║
║ See Google's privacy policy: ║
║ https://policies.google.com/privacy ║
╚════════════════════════════════════════════════════════════════════════════╝
/home/chiya/snap/flutter/common/flutter
chiya@ujimatsu:~$ flutter sdk-path
/home/chiya/snap/flutter/common/flutter
chiya@ujimatsu:~$ flutter doctor
Running "flutter pub get" in flutter_tools...
Resolving dependencies in snap/flutter/common/flutter/packages/flutter_tools... (10.6s)
_fe_analyzer_shared 50.0.0 (53.0.0 available)
analyzer 5.2.0 (5.5.0 available)
archive 3.3.2 (3.3.6 available)
args 2.3.1 (2.4.0 available)
built_value 8.4.2 (8.4.3 available)
checked_yaml 2.0.1 (2.0.2 available)
collection 1.17.0 (1.17.1 available)
completion 1.0.0 (1.0.1 available)
coverage 1.6.1 (1.6.3 available)
dds 2.5.0 (2.7.5 available)
dds_service_extensions 1.3.1 (1.3.3 available)
devtools_shared 2.18.0 (2.21.1 available)
dwds 16.0.2+1 (17.0.0 available)
fixnum 1.0.1 (1.1.0 available)
frontend_server_client 3.1.0 (3.2.0 available)
intl 0.17.0 (0.18.0 available)
io 1.0.3 (1.0.4 available)
js 0.6.5 (0.6.7 available)
json_annotation 4.7.0 (4.8.0 available)
logging 1.1.0 (1.1.1 available)
matcher 0.12.13 (0.12.14 available)
meta 1.8.0 (1.9.0 available)
mime 1.0.2 (1.0.4 available)
multicast_dns 0.3.2+2 (0.3.2+3 available)
native_stack_traces 0.5.2 (0.5.5 available)
path 1.8.2 (1.8.3 available)
petitparser 5.1.0 (5.2.0 available)
source_maps 0.10.11 (0.10.12 available)
sse 4.1.1 (4.1.2 available)
test 1.22.0 (1.23.1 available)
test_api 0.4.16 (0.4.18 available)
test_core 0.4.20 (0.4.24 available)
vm_service 9.4.0 (11.0.1 available)
web_socket_channel 2.2.0 (2.3.0 available)
webdriver 3.0.1 (3.0.2 available)
Got dependencies in snap/flutter/common/flutter/packages/flutter_tools!
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.3, on Ubuntu 20.04.1 LTS 5.15.0-60-generic,
locale en_US.UTF-8)
[✗] 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
[✓] Linux toolchain - develop for Linux desktop
[!] Android Studio (not installed)
[✓] VS Code (version 1.56.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
! Doctor found issues in 2 categories.