You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9046127
Browse filesBrowse the repository at this point in the historyBrowse files
'Running a prebuilt APK with --${FlutterOptions.kUseApplicationBinary} in release mode with flags used to configure the Flutter Android engine '
310
-
'(${intentFlags.map((Stringflag) => '--$flag').join(', ')}) is no longer supported. Define the required flags via the Android manifest instead. See '
311
-
'https://docs.flutter.dev/release/breaking-changes/restrict-command-line-flags-prebuilt-android-release-binaries for more details.',
312
-
);
313
-
}
310
+
if (intentFlags.isNotEmpty) {
311
+
throwToolExit(
312
+
'Running a prebuilt APK with --${FlutterOptions.kUseApplicationBinary} in release mode with flags used to configure the Flutter Android engine '
313
+
'(${intentFlags.map((Stringflag) => '--$flag').join(', ')}) is no longer supported. Define the required flags via the Android manifest instead. See '
314
+
'https://docs.flutter.dev/release/breaking-changes/restrict-command-line-flags-prebuilt-android-release-binaries for more details.',
315
+
);
314
316
}
315
317
}
316
318
}
@@ -568,8 +570,9 @@ class RunCommand extends RunCommandBase {
568
570
569
571
@override
570
572
Future<void> validateCommand() async {
571
-
// Validate that prebuilt applications use engine configuration flags legally.
572
573
if (runningWithPrebuiltApplication) {
574
+
// For Android prebuilt applications run in release mode, validate that engine configuration flags
0 commit comments