mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() This PR addresses an issue where the `--target-platform` flag was not being respected when building APKs in debug mode. Previously, debug builds would always include `x86` and `x64` architectures, regardless of the specified target platform. This change ensures that the `--target-platform` flag is honored across all build modes, including debug. To achieve this, `BuildApkCommand` has been slightly changed to become responsible for list of archs that should be built in the current run,rather than just parsing arguments. Previously, this responsibility was distributed to gradle, which could be frustrating (in my opinion) Fixes #153359 |
||
---|---|---|
.. | ||
src/main | ||
.dartignore | ||
aar_init_script.gradle | ||
app_plugin_loader.gradle | ||
build.gradle.kts | ||
flutter_proguard_rules.pro | ||
flutter.gradle | ||
manual_migration_settings.gradle.md | ||
module_plugin_loader.gradle | ||
resolve_dependencies.gradle | ||
settings_aar.gradle.tmpl | ||
settings.gradle.kts | ||
settings.gradle.legacy_versions |