mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove launch status
It's too fast and leaves weird output on the screen
This commit is contained in:
parent
cec37ab46a
commit
b096c57bbd
@ -43,10 +43,8 @@ class AndroidEmulator extends Emulator {
|
||||
|
||||
@override
|
||||
Future<bool> launch() async {
|
||||
final Status status = logger.startProgress('Launching $id...');
|
||||
final RunResult launchResult =
|
||||
await runAsync(<String>[getEmulatorPath(), '-avd', id]);
|
||||
status.stop();
|
||||
if (launchResult.exitCode != 0) {
|
||||
printError(
|
||||
'Error: emulator exited with exit code ${launchResult.exitCode}');
|
||||
|
||||
@ -39,10 +39,8 @@ class IOSEmulator extends Emulator {
|
||||
|
||||
@override
|
||||
Future<bool> launch() async {
|
||||
final Status status = logger.startProgress('Launching $id...');
|
||||
final RunResult launchResult =
|
||||
await runAsync(<String>['open', '-a', getSimulatorPath()]);
|
||||
status.stop();
|
||||
if (launchResult.exitCode != 0) {
|
||||
printError(
|
||||
'Error: iOS simulator failed to launch with exit code ${launchResult.exitCode}');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user