Don't require the AVD folder to exist in order to run flutter emulators (#25154)

Fixes #24750.
This commit is contained in:
Danny Tuppeny 2018-12-11 15:27:25 +00:00 committed by GitHub
parent 7120dab553
commit 3f1c308e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {