🧆
Flutter (Channel stable, 3.13.8, on macOS 13.3.1 22E772610a darwin-arm
dart
on your path resolves to
! Warning: なんかよくわからないエラーが出た???
解決策
State overflowの解説通りにやると治った?
順番にターミナルで実行する
sudo ln -sfn /Users/lin/flutter/bin/flutter /usr/local/bin/flutter
確認するらしい?
which dart
sudo ln -sfn /Users/lin/flutter/bin/dart /usr/local/bin/dart
which dart
dart --version
flutter doctor -v
brew remove dart
治った?
hashimotojunichi@hashimotojunichinoMacBook-Air ~ % flutter doctor -v
[✓] Flutter (Channel stable, 3.13.8, on macOS 13.3.1 22E772610a darwin-arm64,
locale ja-JP)
• Flutter version 3.13.8 on channel stable at
/Users/hashimotojunichi/development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 6c4930c4ac (4 weeks ago), 2023-10-18 10:57:55 -0500
• Engine revision 767d8c75e8
• Dart version 3.1.4
• DevTools version 2.25.0
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/hashimotojunichi/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Users/hashimotojunichi/Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.13.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Users/hashimotojunichi/Applications/Android
Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• 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.6b802.4-9586694)
[✓] IntelliJ IDEA Community Edition (version 2023.2.3)
• IntelliJ at /Users/hashimotojunichi/Applications/IntelliJ IDEA Community
Edition.app
• Flutter plugin version 75.1.4
• Dart plugin version 232.10072.19
[✓] VS Code (version 1.84.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.76.0
[✓] Connected device (4 available)
• iPhone SE (2nd generation) (2) (mobile) • 00008030-00120C2411F9402E
• ios • iOS 16.3.1 20D67
• iPhone 14 (mobile) •
E1876AC2-FADA-464D-882F-BAFA6D0D28D7 • ios •
com.apple.CoreSimulator.SimRuntime.iOS-16-4 (simulator)
• macOS (desktop) • macos
• darwin-arm64 • macOS 13.3.1 22E772610a darwin-arm64
• Chrome (web) • chrome
• web-javascript • Google Chrome 119.0.6045.159
[✓] Network resources
• All expected network resources are available.
• No issues found!
hashimotojunichi@hashimotojunichinoMacBook-Air ~ %
最後に
突然エラーが発生して、対応したがどうやらバージョンアップによる影響らしい?
誰かのお役に立てると嬉しいです。
Discussion