在终端实例1上,我导航到/ myprojects / my_app并执行flutter run
以下输出:
Launching lib/main.dart on iPhone Xʀ in debug mode...
Running Xcode build...
├─Assembling Flutter resources... 1.7s
└─Compiling, linking and signing... 15.1s
Xcode build done. 19.2s
This is taking longer than expected...
在新的终端窗口上,我导航至/ myprojects / my_app并执行flutter run
以下输出:
Launching lib/main.dart on iPhone Xʀ in debug mode...
Running Xcode build...
├─Assembling Flutter resources... 1.7s
└─Compiling, linking and signing... 8.0s
Xcode build done. 12.4s
This is taking longer than expected...
但是现有的模拟器被现有的模拟器覆盖。如何运行多个Flutter模拟器实例?
答案 0 :(得分:1)
键入flutter emulators
,以获取所有可用模拟器的列表。
然后运行flutter emulators --launch <id>
使用上述命令启动任意数量的
最后,要在所有仿真器上运行该应用,您应该执行flutter run -d all