bash-3.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.
hdhb2 • e0bea273a1d4fc95a46c57c7009e826bb4389583 • ios • iOS 10.2.1
iPhone XR • 7996A7DD-1D8A-442D-80A6-F234E7FF0E54 • ios • iOS 12.1 (simulator)
这是因为你手机和电脑连接了,编译器这回不知道你的命令是要跑那个设备,所以你要区分来跑应用 使用命令 flutter run -d 7996A7DD-1D8A-442D-80A6-F234E7FF0E54 就可以了。或者flutter run -d e0bea273a1d4fc95a46c57c7009e826bb4389583