환경
Operating System : Linux Mint 20.2
Kernel : Linux 5.11.0-38-generic
Architecture : x86-64
Dart : Dart SDK version: 2.14.4 (stable) (Wed Oct 13 11:11:32 2021 +0200) on "linux_x64"
Flutter : Flutter 2.5.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 18116933e7 (3주 전) • 2021-10-15 10:46:35 -0700
Engine • revision d3ea636dc5
에러
[!] 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).
또는
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.3, on Linux Mint 20.2 5.11.0-38-generic, locale ko_KR.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[!] Android Studio
✗ android-studio-dir = /snap/android-studio-canary
✗ Unable to find bundled Java version.
[✓] VS Code (version 1.62.0)
[✓] Connected device (1 available)
! Doctor found issues in 1 category.
해결방법
// android-studio 인 경우
$ flutter config --android-studio-dir=/snap/android-studio/current/android-studio
또는
// android-studio-canary 인 경우
$ flutter config --android-studio-dir=/snap/android-studio-canary/current/android-studio
참고
https://github.com/flutter/flutter/issues/71210#issuecomment-733526109
'Frontend > Flutter' 카테고리의 다른 글
[Flutter] 신입 개발자 면접 질문 (1) | 2023.10.23 |
---|---|
[Flutter] embedding v2 Migration (0) | 2020.12.28 |
[Flutter] Firebase 연동 (0) | 2020.11.20 |
[Flutter] firestore 연동 방법 자세히 설명 돼 있는 블로그 (0) | 2020.03.22 |