flutter 安装小操作

flutter VSCode 模拟器/真机选择

打开模拟器命令: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 

 
 
2人点赞
 
posted @ 2019-10-15 12:00  sundayswift  阅读(104)  评论(0)    收藏  举报