Update flutter build apk -h to indicate that target arch is not supported in debug mode. (#154111)

Part of #153359
This commit is contained in:
Reid Baker 2024-08-26 15:48:46 -04:00 committed by GitHub
parent 1a5cbbfbe8
commit 114dd89bbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,9 @@ class BuildApkCommand extends BuildSubCommand {
..addMultiOption('target-platform',
defaultsTo: <String>['android-arm', 'android-arm64', 'android-x64'],
allowed: <String>['android-arm', 'android-arm64', 'android-x86', 'android-x64'],
help: 'The target platform for which the app is compiled.',
// https://github.com/flutter/flutter/issues/153359 tracks debug build type support.
help:
'The target platform for which the app is compiled. Supports release but not debug build types.',
);
usesTrackWidgetCreation(verboseHelp: verboseHelp);
}