커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
[mac] vscode에서 Flutter : New Project 실행시 오류
앱개발 종합반 - 플러터 v8
0주차
북마크
윤*나
댓글
19
추천
0
조회수
41
조회수
41
답변 완료



맥 사용하고 있습니다.

설치 가이드라인에 따라 모두 설치 완료 했는데, vscode에서 Flutter : New Project 실행시 오류가 뜹니다.



터미널 화면)

아웃풋 화면)

로그 화면)

[오전 4:37:57] [General] [Info]     /usr/local/bin

[오전 4:37:57] [General] [Info]     /System/Cryptexes/App/usr/bin

[오전 4:37:57] [General] [Info]     /usr/bin

[오전 4:37:57] [General] [Info]     /bin

[오전 4:37:57] [General] [Info]     /usr/sbin

[오전 4:37:57] [General] [Info]     /sbin

[오전 4:37:57] [General] [Info]     /usr/local/share/dotnet

[오전 4:37:57] [General] [Info]     /usr/local/share/dotnet -> /usr/local/share/dotnet/bin

[오전 4:37:57] [General] [Info]     /Users/a23/.dotnet/tools

[오전 4:37:57] [General] [Info]     /Users/a23/.dotnet/tools -> /Users/a23/.dotnet/tools/bin

[오전 4:37:57] [General] [Info]     /Library/Apple/usr/bin

[오전 4:37:57] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands

[오전 4:37:57] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands -> /Library/Frameworks/Mono.framework/Versions/Current/Commands/bin

[오전 4:37:57] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin

[오전 4:37:57] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin

[오전 4:37:57] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin

[오전 4:37:57] [General] [Info]   Found at:

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin

[오전 4:37:57] [General] [Info]   Candidate paths to be post-filtered:

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin -> /Users/a23/flutter

[오전 4:37:57] [General] [Info]   Found at /Users/a23/flutter/bin -> /Users/a23/flutter

[오전 4:37:57] [General] [Info]   Returning SDK path /Users/a23/flutter for flutter

[오전 4:37:57] [General] [Info] Searching for dart

[오전 4:37:57] [General] [Info]   Looking for dart in:

[오전 4:37:57] [General] [Info]     /opt/local/bin

[오전 4:37:57] [General] [Info]     /opt/local/sbin

[오전 4:37:57] [General] [Info]     /usr/local/bin

[오전 4:37:57] [General] [Info]     /System/Cryptexes/App/usr/bin

[오전 4:37:57] [General] [Info]     /usr/bin

[오전 4:37:57] [General] [Info]     /bin

[오전 4:37:57] [General] [Info]     /usr/sbin

[오전 4:37:57] [General] [Info]     /sbin

[오전 4:37:57] [General] [Info]     /usr/local/share/dotnet

[오전 4:37:57] [General] [Info]     /usr/local/share/dotnet -> /usr/local/share/dotnet/bin

[오전 4:37:57] [General] [Info]     /Users/a23/.dotnet/tools

[오전 4:37:57] [General] [Info]     /Users/a23/.dotnet/tools -> /Users/a23/.dotnet/tools/bin

[오전 4:37:57] [General] [Info]     /Library/Apple/usr/bin

[오전 4:37:57] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands

[오전 4:37:57] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands -> /Library/Frameworks/Mono.framework/Versions/Current/Commands/bin

[오전 4:37:57] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin

[오전 4:37:57] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin

[오전 4:37:57] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:37:57] [General] [Info]   Found at:

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:37:57] [General] [Info]   Candidate paths to be post-filtered:

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin -> /Users/a23/flutter

[오전 4:37:57] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:37:57] [General] [Info]   Returning SDK path undefined for dart

[오전 4:37:57] [General] [Info] Flutter is not initialized, running 'flutter doctor' to force...

[오전 4:37:57] [General] [Info] (PROC 45720) Logging data for process...

[오전 4:38:13] [General] [Info] (PROC 45720) [✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-arm64, locale ko-KR)

  • Flutter version 3.10.6 on channel stable at /Users/a23/flutter

  • Upstream repository https://github.com/flutter/flutter.git

[오전 4:38:13] [General] [Info] (PROC 45720)   • Framework revision f468f3366c (5 weeks ago), 2023-07-12 15:19:05 -0700

  • Engine revision cdbeda788a

  • Dart version 3.0.6

  • DevTools version 2.23.1

[오전 4:38:14] [General] [Info] (PROC 45720) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

[오전 4:38:14] [General] [Info] (PROC 45720)   • Android SDK at /Users/a23/Library/Android/sdk

  • Platform android-34, build-tools 34.0.0

  • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java

  • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

  • All Android licenses accepted.

[오전 4:38:14] [General] [Info] (PROC 45720) [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)

  • Xcode at /Applications/Xcode.app/Contents/Developer

  • Build 14E300c

  • CocoaPods version 1.12.1

[오전 4:38:14] [General] [Info] (PROC 45720)

[오전 4:38:14] [General] [Info] (PROC 45720) [✓] Chrome - develop for the web

  • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[오전 4:38:14] [General] [Info] (PROC 45720)

[오전 4:38:14] [General] [Info] (PROC 45720) [✓] Android Studio (version 2022.3)

  • Android Studio at /Applications/Android Studio.app/Contents

  • Flutter plugin can be installed from:

[오전 4:38:14] [General] [Info] (PROC 45720)    🔨 https://plugins.jetbrains.com/plugin/9212-flutter

[오전 4:38:14] [General] [Info] (PROC 45720)   • Dart plugin can be installed from:

   🔨 https://plugins.jetbrains.com/plugin/6351-dart

  • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[오전 4:38:14] [General] [Info] (PROC 45720) [✓] VS Code (version 1.81.1)

  • VS Code at /Applications/Visual Studio Code.app/Contents

[오전 4:38:14] [General] [Info] (PROC 45720)   • Flutter extension version 3.70.0

[오전 4:38:23] [General] [Info] (PROC 45720) [✓] Connected device (2 available)

[오전 4:38:23] [General] [Info] (PROC 45720)   • macOS (desktop) • macos • darwin-arm64  • macOS 13.5 22G74 darwin-arm64

  • Chrome (web)  • chrome • web-javascript • Google Chrome 115.0.5790.170

[오전 4:38:23] [General] [Info] (PROC 45720) [✓] Network resources

  • All expected network resources are available.

[오전 4:38:23] [General] [Info] (PROC 45720) • No issues found!

[오전 4:38:23] [General] [Info] (PROC 45720) exited (0, null)

[오전 4:38:23] [General] [Info] (PROC 45720) closed (0, null)

[오전 4:38:23] [General] [Info] Flutter initialized!

[오전 4:38:23] [General] [Info] Searching for dart

[오전 4:38:23] [General] [Info]   Looking for dart in:

[오전 4:38:23] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:38:23] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:38:23] [General] [Info]   Found at:

[오전 4:38:23] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:38:23] [General] [Info]   Candidate paths to be post-filtered:

[오전 4:38:23] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:38:23] [General] [Info]   Returning SDK path undefined for dart

[오전 4:38:27] [General] [Info] Performing silent extension reload...

[오전 4:38:27] [General] [Info] Dart/Flutter tooling telemetry is opted-out, disabling for Dart Code

[오전 4:38:27] [General] [Info] Searching for SDKs...

[오전 4:38:27] [General] [Info] Environment PATH:

[오전 4:38:27] [General] [Info]   /opt/local/bin

[오전 4:38:27] [General] [Info]   /opt/local/sbin

[오전 4:38:27] [General] [Info]   /usr/local/bin

[오전 4:38:27] [General] [Info]   /System/Cryptexes/App/usr/bin

[오전 4:38:27] [General] [Info]   /usr/bin

[오전 4:38:27] [General] [Info]   /bin

[오전 4:38:27] [General] [Info]   /usr/sbin

[오전 4:38:27] [General] [Info]   /sbin

[오전 4:38:27] [General] [Info]   /usr/local/share/dotnet

[오전 4:38:27] [General] [Info]   ~/.dotnet/tools

[오전 4:38:27] [General] [Info]   /Library/Apple/usr/bin

[오전 4:38:27] [General] [Info]   /Library/Frameworks/Mono.framework/Versions/Current/Commands

[오전 4:38:27] [General] [Info]   /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin

[오전 4:38:27] [General] [Info]   /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin

[오전 4:38:27] [General] [Info]   /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin

[오전 4:38:27] [General] [Info]   /Users/a23/flutter/bin

[오전 4:38:27] [General] [Info] Returning cached results for project search

[오전 4:38:27] [General] [Info] Searching for flutter

[오전 4:38:27] [General] [Info]   Looking for flutter in:

[오전 4:38:27] [General] [Info]     /Users/a23/flutter-sdk

[오전 4:38:27] [General] [Info]     /Users/a23/flutter-sdk -> /Users/a23/flutter-sdk/bin

[오전 4:38:27] [General] [Info]     /google/flutter

[오전 4:38:27] [General] [Info]     /google/flutter -> /google/flutter/bin

[오전 4:38:27] [General] [Info]     /opt/local/bin

[오전 4:38:27] [General] [Info]     /opt/local/sbin

[오전 4:38:27] [General] [Info]     /usr/local/bin

[오전 4:38:27] [General] [Info]     /System/Cryptexes/App/usr/bin

[오전 4:38:27] [General] [Info]     /usr/bin

[오전 4:38:27] [General] [Info]     /bin

[오전 4:38:27] [General] [Info]     /usr/sbin

[오전 4:38:27] [General] [Info]     /sbin

[오전 4:38:27] [General] [Info]     /usr/local/share/dotnet

[오전 4:38:27] [General] [Info]     /usr/local/share/dotnet -> /usr/local/share/dotnet/bin

[오전 4:38:27] [General] [Info]     /Users/a23/.dotnet/tools

[오전 4:38:27] [General] [Info]     /Users/a23/.dotnet/tools -> /Users/a23/.dotnet/tools/bin

[오전 4:38:27] [General] [Info]     /Library/Apple/usr/bin

[오전 4:38:27] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands

[오전 4:38:27] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands -> /Library/Frameworks/Mono.framework/Versions/Current/Commands/bin

[오전 4:38:27] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin

[오전 4:38:27] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin

[오전 4:38:27] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin

[오전 4:38:27] [General] [Info]   Found at:

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin

[오전 4:38:27] [General] [Info]   Candidate paths to be post-filtered:

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin -> /Users/a23/flutter

[오전 4:38:27] [General] [Info]   Found at /Users/a23/flutter/bin -> /Users/a23/flutter

[오전 4:38:27] [General] [Info]   Returning SDK path /Users/a23/flutter for flutter

[오전 4:38:27] [General] [Info] Searching for dart

[오전 4:38:27] [General] [Info]   Looking for dart in:

[오전 4:38:27] [General] [Info]     /opt/local/bin

[오전 4:38:27] [General] [Info]     /opt/local/sbin

[오전 4:38:27] [General] [Info]     /usr/local/bin

[오전 4:38:27] [General] [Info]     /System/Cryptexes/App/usr/bin

[오전 4:38:27] [General] [Info]     /usr/bin

[오전 4:38:27] [General] [Info]     /bin

[오전 4:38:27] [General] [Info]     /usr/sbin

[오전 4:38:27] [General] [Info]     /sbin

[오전 4:38:27] [General] [Info]     /usr/local/share/dotnet

[오전 4:38:27] [General] [Info]     /usr/local/share/dotnet -> /usr/local/share/dotnet/bin

[오전 4:38:27] [General] [Info]     /Users/a23/.dotnet/tools

[오전 4:38:27] [General] [Info]     /Users/a23/.dotnet/tools -> /Users/a23/.dotnet/tools/bin

[오전 4:38:27] [General] [Info]     /Library/Apple/usr/bin

[오전 4:38:27] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands

[오전 4:38:27] [General] [Info]     /Library/Frameworks/Mono.framework/Versions/Current/Commands -> /Library/Frameworks/Mono.framework/Versions/Current/Commands/bin

[오전 4:38:27] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin

[오전 4:38:27] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin

[오전 4:38:27] [General] [Info]     /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:38:27] [General] [Info]   Found at:

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:38:27] [General] [Info]   Candidate paths to be post-filtered:

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin -> /Users/a23/flutter

[오전 4:38:27] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:38:27] [General] [Info]   Returning SDK path undefined for dart

[오전 4:38:27] [General] [Info] Flutter is not initialized, running 'flutter doctor' to force...

[오전 4:38:27] [General] [Info] (PROC 45808) Logging data for process...

[오전 4:38:30] [General] [Info] (PROC 45808) [✓] Flutter (Channel stable, 3.10.6, on macOS 13.5 22G74 darwin-arm64, locale ko-KR)

[오전 4:38:30] [General] [Info] (PROC 45808)   • Flutter version 3.10.6 on channel stable at /Users/a23/flutter

  • Upstream repository https://github.com/flutter/flutter.git

  • Framework revision f468f3366c (5 weeks ago), 2023-07-12 15:19:05 -0700

  • Engine revision cdbeda788a

  • Dart version 3.0.6

  • DevTools version 2.23.1

[오전 4:38:31] [General] [Info] (PROC 45808) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)

  • Android SDK at /Users/a23/Library/Android/sdk

[오전 4:38:31] [General] [Info] (PROC 45808)   • Platform android-34, build-tools 34.0.0

  • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java

  • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

  • All Android licenses accepted.

[오전 4:38:31] [General] [Info] (PROC 45808) [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)

[오전 4:38:31] [General] [Info] (PROC 45808)   • Xcode at /Applications/Xcode.app/Contents/Developer

  • Build 14E300c

  • CocoaPods version 1.12.1

[오전 4:38:31] [General] [Info] (PROC 45808) [✓] Chrome - develop for the web

[오전 4:38:31] [General] [Info] (PROC 45808)   • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[오전 4:38:31] [General] [Info] (PROC 45808) [✓] Android Studio (version 2022.3)

  • Android Studio at /Applications/Android Studio.app/Contents

[오전 4:38:31] [General] [Info] (PROC 45808)   • Flutter plugin can be installed from:

[오전 4:38:31] [General] [Info] (PROC 45808)    🔨 https://plugins.jetbrains.com/plugin/9212-flutter

  • Dart plugin can be installed from:

   🔨 https://plugins.jetbrains.com/plugin/6351-dart

[오전 4:38:31] [General] [Info] (PROC 45808)   • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[오전 4:38:31] [General] [Info] (PROC 45808) [✓] VS Code (version 1.81.1)

[오전 4:38:31] [General] [Info] (PROC 45808)   • VS Code at /Applications/Visual Studio Code.app/Contents

  • Flutter extension version 3.70.0

[오전 4:38:36] [General] [Info] (PROC 45808) [✓] Connected device (2 available)

[오전 4:38:36] [General] [Info] (PROC 45808)   • macOS (desktop) • macos • darwin-arm64  • macOS 13.5 22G74 darwin-arm64

  • Chrome (web)  • chrome • web-javascript • Google Chrome 115.0.5790.170

[오전 4:38:36] [General] [Info] (PROC 45808) [✓] Network resources

[오전 4:38:36] [General] [Info] (PROC 45808)   • All expected network resources are available.


• No issues found!

[오전 4:38:36] [General] [Info] (PROC 45808) exited (0, null)

[오전 4:38:36] [General] [Info] (PROC 45808) closed (0, null)

[오전 4:38:36] [General] [Info] Flutter initialized!

[오전 4:38:36] [General] [Info] Searching for dart

[오전 4:38:36] [General] [Info]   Looking for dart in:

[오전 4:38:36] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:38:36] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:38:36] [General] [Info]   Found at:

[오전 4:38:36] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk -> /Users/a23/flutter/bin/cache/dart-sdk/bin

[오전 4:38:36] [General] [Info]   Candidate paths to be post-filtered:

[오전 4:38:36] [General] [Info]     /Users/a23/flutter/bin/cache/dart-sdk

[오전 4:38:36] [General] [Info]   Returning SDK path undefined for dart

[오전 4:38:36] [General] [Info] Done!

[오전 4:38:36] [General] [Error] No Dart or Flutter SDK was found. Suppressing prompt because it doesn't appear that a Dart/Flutter project is open.




작성한 코드 및 에러 메세지

Could not find Dart in your Flutter SDK. Please run 'flutter doctor' in the terminal then reload the project once all issues are resolved.


취소
 공유
취소
댓글 0
댓글 알림
나의얼굴