19
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

flutter run実行時にNo connected devices.が表示される(Mac OSでの開発)

Last updated at Posted at 2019-03-02
No connected devices.

Run 'flutter emulators' to list and start any available device
emulators.

If you expected your device to be detected, please run "flutter
doctor" to diagnose
potential issues, or visit https://flutter.io/setup/ for
troubleshooting tips.

こんなの出てくる。

$ flutter emulators
Unable to find any emulator sources. Please ensure you have some
Android AVD images or an iOS Simulator available.

端末のイメージがない。。。。うーむ。

解決策

単純でした。

$ open -a Simulator

シミュレーター切っちゃってたみたい笑

公式のドキュメントに則って立ち上げていくと、

端末のイメージはシミュレーターから引っこ抜いてくるみたいですね。

なので立ち上げていないとエラーになっちゃう。

同じようなエラー文がケースを変えて今後も出てくると思うので、追記していきます。

19
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
19
9

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?