Flutter开发圈

flutter VSCode 模拟器/真机选择

2018-12-23  本文已影响465人  3c32f188d5a4

打开模拟器命令:open -a Simulator

当真机也连着电脑时会出现以下命令:

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

“xx”的 iPhone • ebde052af5111ac5ff3b41dasdasdasdadd6cbfedc • ios • iOS 12.0.1

iPhone Xs Max    • 6F2F0D31-9EDF-43EF-AC8D-558FC52D9EC4    • ios • iOS 12.1 (simulator)

此时如果你要选择模拟器运行你应该输入如下命令:

flutter run -d  6F2F0D31-9EDF-43EF-AC8D-558FC52D9EC4 

上一篇下一篇

猜你喜欢

热点阅读