Mac
Android Studioは起動してこの状態。
XCodeで、
sudo DevToolsSecurity -enable
flutter doctor
を実行
flutter doctor Sat Mar 3 23:07:23 2018 Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-JP) [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] iOS toolchain - develop for iOS devices (Xcode 9.2) [✓] Android Studio (version 3.0) [✓] VS Code (version 1.20.1) [✓] Connected devices (1 available)
VS Code
Get Started: Configure Editor - Flutter VS Code開く。 command + Shift + P
- 下のこの通りにVS Codeでやっても何も出ない・・。
Invoke View>Command Palette… Type ‘doctor’, and select the ‘Flutter: Run Flutter Doctor’ action Review the output in the ‘OUTPUT’ pane for any issues
質問した。
https://github.com/flutter/flutter/issues/15107
flutterとか入力したらいつの間にか出るようになってた・・。
サンプルの実行
cd flutter/examples/hello_world
この中で、flutter run
これは実行できた。