Open3
flutter2.2.2から2.5.2に上げる
$ flutter --version
Flutter 2.2.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision d79295af24 (4 months ago) • 2021-06-11 08:56:01 -0700
Engine • revision 91c9fc8fe0
Tools • Dart 2.13.3
$ flutter channel
Flutter channels:
master
dev
beta
* stable
$ flutter upgrade
Flutter 2.5.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 3595343e20 (12 days ago) • 2021-09-30 12:58:18 -0700
Engine • revision 6ac856380f
Tools • Dart 2.14.3
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.2, on Mac OS X 10.15.6 19G73 darwin-x64, locale ja-JP)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[!] IntelliJ IDEA Ultimate Edition (version 2016.2.4)
✗ This install is older than the minimum recommended version of 2017.1.0.
[✓] VS Code (version 1.30.0)
[✓] Connected device (2 available)
! Doctor found issues in 2 categories.
- AndroidStudioを開いて
Android SDK Command-line Tools(latest)
にチェックを入れる -
Apply
をクリック -
OK
をクリック
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.5.2, on Mac OS X 10.15.6 19G73 darwin-x64, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[!] IntelliJ IDEA Ultimate Edition (version 2016.2.4)
✗ This install is older than the minimum recommended version of 2017.1.0.
[✓] VS Code (version 1.30.0)
[✓] Connected device (2 available)
! Doctor found issues in 1 category.