LoginSignup
1
1

More than 5 years have passed since last update.

Flutter入門3日目:Androidでサンプルを動かすまで

Posted at

目標

  • androidでもサンプルを動かす

原因

デバイス自体がインストールされていないから

下記を参考に

接続しているデバイスが2つ以上ある場合

flutter devicesで接続しているデバイスが2つある状態でflutter runを実行すると下記の表示になる

More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.

Android SDK built for x86 • emulator-5554                        • android-x86 • Android P (API 27) (emulator)
iPhone X                  • xxxxxxxxxxxxxx • ios         • iOS 11.2 (simulator)

全てで起動する場合は-d allとし、指定する場合は-d xxxとデバイスIDを指定する。

次回

IDEにFlutterプラグインをインストール

1
1
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
1
1