-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
Milestone
Description
Flutter is gradually becoming less dependent on the assumption that any platform is enabled. As a result, we need more resilience against platforms being disabled.
Repro
I've run flutter config --no-enable-android, and restarted VSCode. I don't have Android Studio installed.
On choosing Flutter: Select Device, I'm prompted with:

Create Android emulator shouldn't be available in this setting, since it's not a viable option. If I select it, I get this error:

Platform
[✓] Flutter (Channel master, 1.26.0-2.0.pre.86, on macOS 11.1 20C69 darwin-arm, locale en-US)
• Flutter version 1.26.0-2.0.pre.86 at /Users/timsneath/flutter
• Framework revision b793285329 (2 hours ago), 2020-12-18 10:14:36 -0800
• Engine revision 7983c6fda0
• Dart version 2.12.0 (build 2.12.0-167.0.dev)
I'm running the 3.17.1 / 3.17.0 extensions for Dart / Flutter, respectively.