in flutter run, throw tool exit when --flavor is provided but is not supported on the target device (#139045)
Fixes https://github.com/flutter/flutter/issues/134197
This commit is contained in:
@@ -372,6 +372,9 @@ class AndroidDevice extends Device {
|
||||
@override
|
||||
String get name => modelID;
|
||||
|
||||
@override
|
||||
bool get supportsFlavors => true;
|
||||
|
||||
@override
|
||||
Future<bool> isAppInstalled(
|
||||
ApplicationPackage app, {
|
||||
|
||||
Reference in New Issue
Block a user