From 3f1c308e58bcc818ec29fb40bca445f012d27c5e Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Tue, 11 Dec 2018 15:27:25 +0000 Subject: [PATCH] Don't require the AVD folder to exist in order to run `flutter emulators` (#25154) Fixes #24750. --- packages/flutter_tools/lib/src/android/android_workflow.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/android/android_workflow.dart b/packages/flutter_tools/lib/src/android/android_workflow.dart index 7640de3cee7..e1eac67fdfa 100644 --- a/packages/flutter_tools/lib/src/android/android_workflow.dart +++ b/packages/flutter_tools/lib/src/android/android_workflow.dart @@ -43,7 +43,7 @@ class AndroidWorkflow implements Workflow { bool get canLaunchDevices => androidSdk != null && androidSdk.validateSdkWellFormed().isEmpty; @override - bool get canListEmulators => getEmulatorPath(androidSdk) != null && getAvdPath() != null; + bool get canListEmulators => getEmulatorPath(androidSdk) != null; } class AndroidValidator extends DoctorValidator {