Repository navigation
Android: building one flavor also runs compileFlutterBuild for another flavor #183296
Description
Activity
- addedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Mar 10, 2026 @kyungilcho Thanks for the detailed report and the reproducible steps.
Based on the logs, building the dev flavor is triggering additional Flutter compile tasks for the prod flavor (e.g.,
compileFlutterBuildProdDebugandcompileFlutterBuildProdRelease). Labelling this for further investigation.Doctor Output
Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.41.4, on macOS 26.3.1 25D2128 darwin-arm64, locale en-US) [✓] Android toolchain - develop for Android devices (Android SDK version 36.1.0) [✓] Xcode - develop for iOS and macOS (Xcode 26.3) [✓] Chrome - develop for the web [✓] Connected device (3 available) [✓] Network resources • No issues found!
Console Logs
admin@Mac flavors_example % flutter build apk --debug --flavor dev -v [ +20 ms] executing: sysctl hw.optional.arm64 [ +3 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] hw.optional.arm64: 1 [ +4 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] executing: [/Users/admin/develop/flutter/] git -c log.showSignature=false log HEAD -n 1 --pretty=format:%ad --date=iso [ +20 ms] Exit code 0 from: git -c log.showSignature=false log HEAD -n 1 --pretty=format:%ad --date=iso [ ] 2026-03-03 16:03:22 -0800 [ +8 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +19 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update. [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ +71 ms] executing: [/Users/admin/develop/projects/flavors_example/] /Users/admin/develop/flutter/bin/cache/dart-sdk/bin/dart pub --suppress-analytics --color --directory . get --example Resolving dependencies... Downloading packages... meta 1.17.0 (1.18.1 available) Got dependencies! 1 package has newer versions incompatible with dependency constraints. Try `flutter pub outdated` for more information. [ +103 ms] Skipping generating web_plugin_registrant.dart because it is up-to-date. [ +12 ms] Generating /Users/admin/develop/projects/flavors_example/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java [ +2 ms] Skipping generating GeneratedPluginRegistrant.java because it is up-to-date. [ +1 ms] Skipping generating generated_plugin_registrant.h because it is up-to-date. [ ] Skipping generating generated_plugin_registrant.cc because it is up-to-date. [ ] Skipping generating generated_plugins.cmake because it is up-to-date. [ ] Skipping generating generated_plugin_registrant.h because it is up-to-date. [ ] Skipping generating generated_plugin_registrant.cc because it is up-to-date. [ ] Skipping generating generated_plugins.cmake because it is up-to-date. [ ] Skipping generating GeneratedPluginRegistrant.h because it is up-to-date. [ ] Skipping generating GeneratedPluginRegistrant.m because it is up-to-date. [ ] Skipping generating GeneratedPluginRegistrant.swift because it is up-to-date. [ +101 ms] executing: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist [ +6 ms] Exit code 0 from: /usr/bin/plutil -convert xml1 -o - /Applications/Android Studio.app/Contents/Info.plist [ ] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>CFBundleDevelopmentRegion</key> <string>English</string> <key>CFBundleDocumentTypes</key> <array> <dict> <key>CFBundleTypeExtensions</key> <array> <string>ipr</string> </array> <key>CFBundleTypeIconFile</key> <string>studio.icns</string> <key>CFBundleTypeName</key> <string>Android Studio Project File</string> <key>CFBundleTypeRole</key> <string>Editor</string> </dict> <dict> <key>CFBundleTypeExtensions</key> <array> <string>*</string> </array> <key>CFBundleTypeName</key> <string>All documents</string> <key>CFBundleTypeOSTypes</key> <array> <string>****</string> </array> <key>CFBundleTypeRole</key> <string>Editor</string> <key>LSTypeIsPackage</key> <false/> </dict> </array> <key>CFBundleExecutable</key> <string>studio</string> <key>CFBundleGetInfoString</key> <string>Android Studio 2025.3, build AI-253.30387.90.2532.14935130. Copyright JetBrains s.r.o., (c) 2000-2026</string> <key>CFBundleIconFile</key> <string>studio.icns</string> <key>CFBundleIdentifier</key> <string>com.google.android.studio</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundleName</key> <string>Android Studio</string> <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> <string>2025.3</string> <key>CFBundleURLTypes</key> <array> <dict> <key>CFBundleTypeRole</key> <string>Editor</string> <key>CFBundleURLName</key> <string>Stacktrace</string> <key>CFBundleURLSchemes</key> <array> <string>idea</string> </array> </dict> </array> <key>CFBundleVersion</key> <string>AI-253.30387.90.2532.14935130</string> <key>LSApplicationCategoryType</key> <string>public.app-category.developer-tools</string> <key>LSArchitecturePriority</key> <array> <string>arm64</string> </array> <key>LSMinimumSystemVersion</key> <string>10.13</string> <key>LSRequiresNativeExecution</key> <string>YES</string> <key>NSAppleEventsUsageDescription</key> <string>An application in Android Studio requests the ability to send Apple events.</string> <key>NSBluetoothAlwaysUsageDescription</key> <string>An application in Android Studio requests access to Bluetooth.</string> <key>NSCameraUsageDescription</key> <string>An application in Android Studio requests access to the device's camera.</string> <key>NSDesktopFolderUsageDescription</key> <string>An application in Android Studio requests access to the user's Desktop folder.</string> <key>NSDocumentsFolderUsageDescription</key> <string>An application in Android Studio requests access to the user's Documents folder.</string> <key>NSDownloadsFolderUsageDescription</key> <string>An application in Android Studio requests access to the user's Downloads folder.</string> <key>NSHighResolutionCapable</key> <true/> <key>NSLocalNetworkUsageDescription</key> <string>Android Studio's features, such as SSH and database connectivity, require permissions for accessing the local network and sending broadcast requests.</string> <key>NSLocationUsageDescription</key> <string>An application in Android Studio requests access to the user's location information.</string> <key>NSMicrophoneUsageDescription</key> <string>An application in Android Studio requests access to the device's microphone.</string> <key>NSNetworkVolumesUsageDescription</key> <string>An application in Android Studio requests access to files on a network volume.</string> <key>NSRemovableVolumesUsageDescription</key> <string>An application in Android Studio requests access to files on a removable volume.</string> <key>NSSupportsAutomaticGraphicsSwitching</key> <true/> </dict> </plist> [ +6 ms] executing: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java -version [ +49 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java -version [ ] openjdk version "21.0.9" 2025-10-21 OpenJDK Runtime Environment (build 21.0.9+-14787801-b1163.94) OpenJDK 64-Bit Server VM (build 21.0.9+-14787801-b1163.94, mixed mode) [ +4 ms] Top-level Gradle build file not found, skipping migration of task "clean". [ +1 ms] executing: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java --version [ +48 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java --version [ ] openjdk 21.0.9 2025-10-21 OpenJDK Runtime Environment (build 21.0.9+-14787801-b1163.94) OpenJDK 64-Bit Server VM (build 21.0.9+-14787801-b1163.94, mixed mode) [ +1 ms] Version of Java is different than impacted version, no migration attempted. [ +6 ms] CMake project not found, skipping support Android 15 16k page size migration. [ +2 ms] Using gradle from /Users/admin/develop/projects/flavors_example/android/gradlew. [ +9 ms] LocalFile: '/Users/admin/develop/projects/flavors_example/android/build.gradle.kts' doesn't provide an AGP version. Checking settings. [ ] LocalFile: '/Users/admin/develop/projects/flavors_example/android/settings.gradle.kts' provides AGP version: 8.11.1 [ +13 ms] Running Gradle task 'assembleDevDebug'... [ ] executing: [/Users/admin/develop/projects/flavors_example/android/] /Users/admin/develop/projects/flavors_example/android/gradlew --full-stacktrace --info -Pverbose=true -Ptarget-platform=android-arm,android-arm64,android-x64 -Ptarget=lib/main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9BUFBfRkxBVk9SPWRldg==,RkxVVFRFUl9WRVJTSU9OPTMuNDEuNA==,RkxVVFRFUl9DSEFOTkVMPXN0YWJsZQ==,RkxVVFRFUl9HSVRfVVJMPWh0dHBzOi8vZ2l0aHViLmNvbS9mbHV0dGVy L2ZsdXR0ZXIuZ2l0,RkxVVFRFUl9GUkFNRVdPUktfUkVWSVNJT049ZmYzN2JlZjYwMw==,RkxVVFRFUl9FTkdJTkVfUkVWSVNJT049ZTRiOGRjYTNmMQ==,RkxVVFRFUl9EQVJUX1ZFUlNJT049My4xMS4x -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false assembleDevDebug [ +373 ms] Initialized native services in: /Users/admin/.gradle/native [ ] Initialized jansi services in: /Users/admin/.gradle/native [ +209 ms] The client will now receive all logging from the daemon (pid: 34472). The daemon log file: /Users/admin/.gradle/daemon/8.14/daemon-34472.out.log [ ] Starting 18th build in daemon [uptime: 25 mins 24.081 secs, performance: 99%, GC rate: 0.00/s, heap usage: 0% of 8 GiB, non-heap usage: 10% of 4 GiB] [ ] Using 8 worker leases. [ ] Now considering [/Users/admin/develop/projects/flavors_example/android, /Users/admin/develop/flutter/packages/flutter_tools/gradle] as hierarchies to watch [ ] Watching the file system is configured to be enabled if available [ ] File system watching is active [ ] Starting Build [ ] Now considering [/Users/admin/develop/flutter/packages/flutter_tools/gradle, /Users/admin/develop/projects/flavors_example/android] as hierarchies to watch [ +100 ms] > Configure project :gradle [ ] Evaluating project ':gradle' using build file '/Users/admin/develop/flutter/packages/flutter_tools/gradle/build.gradle.kts'. [ ] Resolved plugin [id: 'org.gradle.java-gradle-plugin'] [ ] Resolved plugin [id: 'org.gradle.groovy'] [ ] Resolved plugin [id: 'org.gradle.kotlin.kotlin-dsl', version: '5.2.0'] [ ] Resolved plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.9.20'] [ ] Using Kotlin Gradle Plugin gradle85 variant [ ] kotlin scripting plugin: created the scripting discovery configuration: kotlinScriptDef [ ] kotlin scripting plugin: created the scripting discovery configuration: testKotlinScriptDef [ ] file or directory '/Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/java', not found [ ] Resolved plugin [id: 'dev.flutter.flutter-plugin-loader', version: '1.0.0'] [ ] Resolved plugin [id: 'com.android.application', version: '8.11.1', apply: false] [ ] Resolved plugin [id: 'org.jetbrains.kotlin.android', version: '2.2.20', apply: false] [ ] Resolved plugin [id: 'org.gradle.toolchains.foojay-resolver-convention', version: '0.10.0'] [ ] Resolve mutations for :gradle:checkKotlinGradlePluginConfigurationErrors (Thread[#2142,Execution worker,5,main]) started. [ ] :gradle:checkKotlinGradlePluginConfigurationErrors (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :gradle:checkKotlinGradlePluginConfigurationErrors SKIPPED [ ] Skipping task ':gradle:checkKotlinGradlePluginConfigurationErrors' as task onlyIf 'errorDiagnostics are present' is false. [ ] Resolve mutations for :gradle:compileKotlin (Thread[#2142,Execution worker,5,main]) started. [ ] :gradle:compileKotlin (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :gradle:compileKotlin UP-TO-DATE [ ] Caching disabled for task ':gradle:compileKotlin' because: [ ] Build cache is disabled [ ] Skipping task ':gradle:compileKotlin' as it is up-to-date. [ ] Resolve mutations for :gradle:compileJava (Thread[#2142,Execution worker,5,main]) started. [ ] :gradle:compileJava (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :gradle:compileJava NO-SOURCE [ ] Skipping task ':gradle:compileJava' as it has no source files and no previous output files. [ ] Resolve mutations for :gradle:compileGroovy (Thread[#2142,Execution worker,5,main]) started. [ ] :gradle:compileGroovy (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :gradle:compileGroovy NO-SOURCE [ ] Skipping task ':gradle:compileGroovy' as it has no source files and no previous output files. [ ] Resolve mutations for :gradle:pluginDescriptors (Thread[#2142,Execution worker,5,main]) started. [ ] :gradle:pluginDescriptors (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :gradle:pluginDescriptors UP-TO-DATE [ ] Caching disabled for task ':gradle:pluginDescriptors' because: [ ] Build cache is disabled [ ] Not worth caching [ ] Skipping task ':gradle:pluginDescriptors' as it is up-to-date. [ ] Resolve mutations for :gradle:processResources (Thread[#2142,Execution worker,5,main]) started. [ ] :gradle:processResources (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :gradle:processResources UP-TO-DATE [ ] Caching disabled for task ':gradle:processResources' because: [ ] Build cache is disabled [ ] Not worth caching [ ] Skipping task ':gradle:processResources' as it is up-to-date. [ ] Resolve mutations for :gradle:classes (Thread[#2142,Execution worker,5,main]) started. [ ] :gradle:classes (Thread[#2146,Execution worker Thread 5,5,main]) started. [ ] > Task :gradle:classes UP-TO-DATE [ ] Skipping task ':gradle:classes' as it has no actions. [ ] Resolve mutations for :gradle:jar (Thread[#2146,Execution worker Thread 5,5,main]) started. [ ] :gradle:jar (Thread[#2146,Execution worker Thread 5,5,main]) started. [ ] > Task :gradle:jar UP-TO-DATE [ ] Caching disabled for task ':gradle:jar' because: [ ] Build cache is disabled [ ] Not worth caching [ ] Skipping task ':gradle:jar' as it is up-to-date. [ +96 ms] Settings evaluated using settings file '/Users/admin/develop/projects/flavors_example/android/settings.gradle.kts'. [ ] Projects loaded. Root project using build file '/Users/admin/develop/projects/flavors_example/android/build.gradle.kts'. [ ] Included projects: [root project 'android', project ':app'] [ +100 ms] > Configure project :app [ ] Evaluating project ':app' using build file '/Users/admin/develop/projects/flavors_example/android/app/build.gradle.kts'. [ ] Resolved plugin [id: 'com.android.application'] [ ] Resolved plugin [id: 'kotlin-android'] [ ] Resolved plugin [id: 'dev.flutter.flutter-gradle-plugin'] [ ] Using default execution profile [ ] Build ee074656-9181-4d34-9ae7-434782669476 is started [ ] Using Kotlin Gradle Plugin gradle813 variant [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ +1 ms] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ +7 ms] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ +1 ms] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] C/C++: android.ndkVersion from module build.gradle is [28.2.13676358] [ ] C/C++: android.ndkPath from module build.gradle is not set [ ] C/C++: ndk.dir in local.properties is not set [ ] C/C++: Not considering ANDROID_NDK_HOME because support was removed after deprecation period. [ ] C/C++: sdkFolder is /Users/admin/Library/Android/sdk [ ] > Configure project : [ ] Evaluating root project 'android' using build file '/Users/admin/develop/projects/flavors_example/android/build.gradle.kts'. [ ] All projects evaluated. [ ] Task name matched 'assembleDevDebug' [ ] Selected primary task 'assembleDevDebug' from project : [ ] Adding -Xuse-inline-scopes-numbers Kotlin compiler flag for task :app:compileDevDebugKotlin [ ] Tasks to be executed: [task ':app:DevDebugMinSdkCheck', task ':app:preBuild', task ':app:preDevDebugBuild', task ':app:mergeDevDebugNativeDebugMetadata', task ':app:checkKotlinGradlePluginConfigurationErrors', task ':app:compileFlutterBuildDevDebug', task ':app:packJniLibsflutterBuildDevDebug', task ':app:checkDevDebugAarMetadata', task ':app:cleanMergeDevDebugAssets', task ':app:mergeDevDebugShaders', task ':app:compileDevDebugShaders', task ':app:generateDevDebugAssets', task ':app:mergeDevDebugAssets', task ':app:copyFlutterAssetsDevDebug', task ':app:generateDevDebugResValues', task ':app:mapDevDebugSourceSetPaths', task ':app:generateDevDebugResources', task ':app:mergeDevDebugResources', task ':app:packageDevDebugResources', task ':app:parseDevDebugLocalResources', task ':app:createDevDebugCompatibleScreenManifests', task ':app:extractDeepLinksDevDebug', task ':app:processDevDebugMainManifest', task ':app:outputDevDebugAppLinkSettings', task ':app:processDevDebugManifest', task ':app:processDevDebugManifestForPackage', task ':app:processDevDebugResources', task ':app:compileDevDebugKotlin', task ':app:javaPreCompileDevDebug', task ':app:compileDevDebugJavaWithJavac', task ':app:compressDevDebugAssets', task ':app:desugarDevDebugFileDependencies', task ':app:dexBuilderDevDebug', task ':app:mergeDevDebugGlobalSynthetics', task ':app:processDevDebugJavaRes', task ':app:mergeDevDebugJavaResource', task ':app:checkDevDebugDuplicateClasses', task ':app:mergeExtDexDevDebug', task ':app:mergeLibDexDevDebug', task ':app:mergeProjectDexDevDebug', task ':app:compileFlutterBuildProdDebug', task ':app:packJniLibsflutterBuildProdDebug', task ':app:preProdDebugBuild', task ':app:configureCMakeDebug[arm64-v8a]', task ':app:buildCMakeDebug[arm64-v8a]', task ':app:configureCMakeDebug[armeabi-v7a]', task ':app:buildCMakeDebug[armeabi-v7a]', task ':app:configureCMakeDebug[x86_64]', task ':app:buildCMakeDebug[x86_64]', task ':app:mergeDevDebugJniLibFolders', task ':app:mergeDevDebugNativeLibs', task ':app:stripDevDebugDebugSymbols', task ':app:validateSigningDevDebug', task ':app:writeDevDebugAppMetadata', task ':app:writeDevDebugSigningConfigVersions', task ':app:packageDevDebug', task ':app:createDevDebugApkListingFileRedirect', task ':app:assembleDevDebug'] [ +2 ms] Tasks that were excluded: [] [ ] Resolve mutations for :app:DevDebugMinSdkCheck (Thread[#2142,Execution worker,5,main]) started. [ ] :app:DevDebugMinSdkCheck (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:DevDebugMinSdkCheck [ ] Caching disabled for task ':app:DevDebugMinSdkCheck' because: [ ] Build cache is disabled [ ] Task ':app:DevDebugMinSdkCheck' is not up-to-date because: [ ] Task has not declared any outputs despite executing actions. [ ] Resolve mutations for :app:preBuild (Thread[#2142,Execution worker,5,main]) started. [ ] :app:preBuild (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:preBuild UP-TO-DATE [ ] Skipping task ':app:preBuild' as it has no actions. [ ] Resolve mutations for :app:preDevDebugBuild (Thread[#2142,Execution worker,5,main]) started. [ ] :app:preDevDebugBuild (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:preDevDebugBuild UP-TO-DATE [ ] Skipping task ':app:preDevDebugBuild' as it has no actions. [ ] Resolve mutations for :app:mergeDevDebugNativeDebugMetadata (Thread[#2142,Execution worker,5,main]) started. [ ] :app:mergeDevDebugNativeDebugMetadata (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:mergeDevDebugNativeDebugMetadata NO-SOURCE [ ] Skipping task ':app:mergeDevDebugNativeDebugMetadata' as it has no source files and no previous output files. [ ] Resolve mutations for :app:checkKotlinGradlePluginConfigurationErrors (Thread[#2142,Execution worker,5,main]) started. [ ] :app:checkKotlinGradlePluginConfigurationErrors (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:checkKotlinGradlePluginConfigurationErrors SKIPPED [ ] Skipping task ':app:checkKotlinGradlePluginConfigurationErrors' as task onlyIf 'errorDiagnostics are present' is false. [ ] Resolve mutations for :app:compileFlutterBuildDevDebug (Thread[#2142,Execution worker,5,main]) started. [ ] :app:compileFlutterBuildDevDebug (Thread[#2142,Execution worker,5,main]) started. [+1272 ms] > Task :app:compileFlutterBuildDevDebug [ ] Caching disabled for task ':app:compileFlutterBuildDevDebug' because: [ ] Build cache is disabled [ ] Caching has not been enabled for the task [ ] Task ':app:compileFlutterBuildDevDebug' is not up-to-date because: [ ] Value of input property 'verbose' has changed for task ':app:compileFlutterBuildDevDebug' [ ] Starting process 'command '/Users/admin/develop/flutter/bin/flutter''. Working directory: /Users/admin/develop/projects/flavors_example Command: /Users/admin/develop/flutter/bin/flutter --verbose assemble --no-version-check --depfile /Users/admin/develop/projects/flavors_example/build/app/intermediates/flutter/devDebug/flutter_build.d --output /Users/admin/develop/projects/flavors_example/build/app/intermediates/flutter/devDebug -dTargetFile=lib/main.dart -dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true --DartDefines=RkxVVFRFUl9BUFBfRkxBVk9SPWRldg==,RkxVVFRFUl9WRVJTSU9OPTMuNDEuNA==,RkxVVFRFUl9DSEFOTkVMPXN0YWJsZQ==,RkxVVFRFUl9HSVRfVVJMPWh0dHBzOi8vZ2l0aHViLmNvbS9mbHV0dGVyL 2ZsdXR0ZXIuZ2l0,RkxVVFRFUl9GUkFNRVdPUktfUkVWSVNJT049ZmYzN2JlZjYwMw==,RkxVVFRFUl9FTkdJTkVfUkVWSVNJT049ZTRiOGRjYTNmMQ==,RkxVVFRFUl9EQVJUX1ZFUlNJT049My4xMS4x -dFlavor=dev -dAndroidArchs=android-arm android-arm64 android-x64 -dMinSdkVersion=24 debug_android_application [ ] Successfully started process 'command '/Users/admin/develop/flutter/bin/flutter'' [ ] [ +15 ms] executing: sysctl hw.optional.arm64 [ ] [ +3 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] [ ] hw.optional.arm64: 1 [ ] [ +3 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +22 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +20 ms] Initializing file store [ ] [ +4 ms] Done initializing file store [ ] [ +16 ms] Skipping target: dart_build [ ] [ ] Skipping target: gen_dart_plugin_registrant [ ] [ ] Skipping target: install_code_assets [ ] [ ] Skipping target: gen_localizations [ ] [ +456 ms] Skipping target: kernel_snapshot_program [ ] [ +286 ms] Skipping target: debug_android_application [ ] [ ] Persisting file store [ ] [ +3 ms] Done persisting file store [ ] [ +5 ms] build succeeded. [ ] [ +2 ms] "flutter assemble" took 823ms. [ ] [ +2 ms] executing: sw_vers -productName [ ] [ +9 ms] Exit code 0 from: sw_vers -productName [ ] [ ] macOS [ ] [ ] executing: sw_vers -productVersion [ ] [ +7 ms] Exit code 0 from: sw_vers -productVersion [ ] [ ] 26.3.1 [ ] [ ] executing: sw_vers -buildVersion [ ] [ +8 ms] Exit code 0 from: sw_vers -buildVersion [ ] [ ] 25D2128 [ ] [ ] executing: uname -m [ ] [ +5 ms] Exit code 0 from: uname -m [ ] [ ] arm64 [ ] [ +36 ms] Running 1 shutdown hook [ ] [ ] Shutdown hooks complete [ ] [ +234 ms] exiting with code 0 [ ] Resolve mutations for :app:packJniLibsflutterBuildDevDebug (Thread[#2142,Execution worker,5,main]) started. [ ] :app:packJniLibsflutterBuildDevDebug (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:packJniLibsflutterBuildDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:packJniLibsflutterBuildDevDebug' because: [ ] Build cache is disabled [ ] Not worth caching [ ] Skipping task ':app:packJniLibsflutterBuildDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:checkDevDebugAarMetadata (Thread[#2142,Execution worker,5,main]) started. [ ] :app:checkDevDebugAarMetadata (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:checkDevDebugAarMetadata UP-TO-DATE [ ] Caching disabled for task ':app:checkDevDebugAarMetadata' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:checkDevDebugAarMetadata' as it is up-to-date. [ ] Resolve mutations for :app:cleanMergeDevDebugAssets (Thread[#2142,Execution worker,5,main]) started. [ ] :app:cleanMergeDevDebugAssets (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:cleanMergeDevDebugAssets [ ] Caching disabled for task ':app:cleanMergeDevDebugAssets' because: [ ] Build cache is disabled [ ] Task ':app:cleanMergeDevDebugAssets' is not up-to-date because: [ ] Task has not declared any outputs despite executing actions. [ ] Resolve mutations for :app:mergeDevDebugShaders (Thread[#2142,Execution worker,5,main]) started. [ ] :app:mergeDevDebugShaders (Thread[#2142,Execution worker,5,main]) started. [ ] > Task :app:mergeDevDebugShaders UP-TO-DATE [ ] Caching disabled for task ':app:mergeDevDebugShaders' because: [ ] Build cache is disabled [ ] Simple merging task [ ] Skipping task ':app:mergeDevDebugShaders' as it is up-to-date. [ ] Resolve mutations for :app:compileDevDebugShaders (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:compileDevDebugShaders (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:compileDevDebugShaders NO-SOURCE [ ] Skipping task ':app:compileDevDebugShaders' as it has no source files and no previous output files. [ ] Resolve mutations for :app:generateDevDebugAssets (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:generateDevDebugAssets (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:generateDevDebugAssets UP-TO-DATE [ ] Skipping task ':app:generateDevDebugAssets' as it has no actions. [ ] Resolve mutations for :app:mergeDevDebugAssets (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeDevDebugAssets (Thread[#2143,Execution worker Thread 2,5,main]) started. [ +97 ms] > Task :app:mergeDevDebugAssets [ ] Caching disabled for task ':app:mergeDevDebugAssets' because: [ ] Build cache is disabled [ ] Simple merging task [ ] Task ':app:mergeDevDebugAssets' is not up-to-date because: [ ] Output property 'outputDir' file /Users/admin/develop/projects/flavors_example/build/app/intermediates/assets/devDebug/mergeDevDebugAssets has been removed. [ ] The input changes require a full rebuild for incremental task ':app:mergeDevDebugAssets'. [ ] Resolve mutations for :app:copyFlutterAssetsDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:copyFlutterAssetsDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ +98 ms] > Task :app:copyFlutterAssetsDevDebug [ ] Caching disabled for task ':app:copyFlutterAssetsDevDebug' because: [ ] Build cache is disabled [ ] Not worth caching [ ] Task ':app:copyFlutterAssetsDevDebug' is not up-to-date because: [ ] Output property 'destinationDir' file /Users/admin/develop/projects/flavors_example/build/app/intermediates/assets/devDebug/mergeDevDebugAssets/flutter_assets has been removed. [ ] Output property 'destinationDir' file /Users/admin/develop/projects/flavors_example/build/app/intermediates/assets/devDebug/mergeDevDebugAssets/flutter_assets/AssetManifest.bin has been removed. [ ] Output property 'destinationDir' file /Users/admin/develop/projects/flavors_example/build/app/intermediates/assets/devDebug/mergeDevDebugAssets/flutter_assets/FontManifest.json has been removed. [ ] and more... [ ] Resolve mutations for :app:generateDevDebugResValues (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:generateDevDebugResValues (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:generateDevDebugResValues UP-TO-DATE [ ] Caching disabled for task ':app:generateDevDebugResValues' because: [ ] Build cache is disabled [ ] Skipping task ':app:generateDevDebugResValues' as it is up-to-date. [ ] Resolve mutations for :app:mapDevDebugSourceSetPaths (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mapDevDebugSourceSetPaths (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mapDevDebugSourceSetPaths UP-TO-DATE [ ] Caching disabled for task ':app:mapDevDebugSourceSetPaths' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:mapDevDebugSourceSetPaths' as it is up-to-date. [ ] Resolve mutations for :app:generateDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:generateDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:generateDevDebugResources UP-TO-DATE [ ] Caching disabled for task ':app:generateDevDebugResources' because: [ ] Build cache is disabled [ ] Skipping task ':app:generateDevDebugResources' as it is up-to-date. [ ] Resolve mutations for :app:mergeDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeDevDebugResources UP-TO-DATE [ ] Caching disabled for task ':app:mergeDevDebugResources' because: [ ] Build cache is disabled [ ] Skipping task ':app:mergeDevDebugResources' as it is up-to-date. [ ] Resolve mutations for :app:packageDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:packageDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:packageDevDebugResources UP-TO-DATE [ ] Caching disabled for task ':app:packageDevDebugResources' because: [ ] Build cache is disabled [ ] Skipping task ':app:packageDevDebugResources' as it is up-to-date. [ ] Resolve mutations for :app:parseDevDebugLocalResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:parseDevDebugLocalResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:parseDevDebugLocalResources UP-TO-DATE [ ] Caching disabled for task ':app:parseDevDebugLocalResources' because: [ ] Build cache is disabled [ ] Skipping task ':app:parseDevDebugLocalResources' as it is up-to-date. [ ] Resolve mutations for :app:createDevDebugCompatibleScreenManifests (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:createDevDebugCompatibleScreenManifests (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:createDevDebugCompatibleScreenManifests UP-TO-DATE [ ] Caching disabled for task ':app:createDevDebugCompatibleScreenManifests' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:createDevDebugCompatibleScreenManifests' as it is up-to-date. [ ] Resolve mutations for :app:extractDeepLinksDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:extractDeepLinksDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:extractDeepLinksDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:extractDeepLinksDevDebug' because: [ ] Build cache is disabled [ ] Skipping task ':app:extractDeepLinksDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:processDevDebugMainManifest (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:processDevDebugMainManifest (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:processDevDebugMainManifest UP-TO-DATE [ ] Caching disabled for task ':app:processDevDebugMainManifest' because: [ ] Build cache is disabled [ ] Skipping task ':app:processDevDebugMainManifest' as it is up-to-date. [ ] Resolve mutations for :app:outputDevDebugAppLinkSettings (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:outputDevDebugAppLinkSettings (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:outputDevDebugAppLinkSettings UP-TO-DATE [ ] Caching disabled for task ':app:outputDevDebugAppLinkSettings' because: [ ] Build cache is disabled [ ] Caching has not been enabled for the task [ ] Skipping task ':app:outputDevDebugAppLinkSettings' as it is up-to-date. [ ] Resolve mutations for :app:processDevDebugManifest (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:processDevDebugManifest (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:processDevDebugManifest UP-TO-DATE [ ] Caching disabled for task ':app:processDevDebugManifest' because: [ ] Build cache is disabled [ ] Skipping task ':app:processDevDebugManifest' as it is up-to-date. [ ] Resolve mutations for :app:processDevDebugManifestForPackage (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:processDevDebugManifestForPackage (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:processDevDebugManifestForPackage UP-TO-DATE [ ] Custom actions are attached to task ':app:processDevDebugManifestForPackage'. [ ] Caching disabled for task ':app:processDevDebugManifestForPackage' because: [ ] Build cache is disabled [ ] Skipping task ':app:processDevDebugManifestForPackage' as it is up-to-date. [ ] Resolve mutations for :app:processDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:processDevDebugResources (Thread[#2143,Execution worker Thread 2,5,main]) started. [ +94 ms] > Task :app:processDevDebugResources UP-TO-DATE [ ] Caching disabled for task ':app:processDevDebugResources' because: [ ] Build cache is disabled [ ] Skipping task ':app:processDevDebugResources' as it is up-to-date. [ ] Resolve mutations for :app:compileDevDebugKotlin (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:compileDevDebugKotlin (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:compileDevDebugKotlin UP-TO-DATE [ ] Adding -Xuse-inline-scopes-numbers Kotlin compiler flag for task :app:compileDevDebugAndroidTestKotlin [ ] Caching disabled for task ':app:compileDevDebugKotlin' because: [ ] Build cache is disabled [ ] Skipping task ':app:compileDevDebugKotlin' as it is up-to-date. [ ] Resolve mutations for :app:javaPreCompileDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:javaPreCompileDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:javaPreCompileDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:javaPreCompileDevDebug' because: [ ] Build cache is disabled [ ] Skipping task ':app:javaPreCompileDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:compileDevDebugJavaWithJavac (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:compileDevDebugJavaWithJavac (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:compileDevDebugJavaWithJavac UP-TO-DATE [ ] Custom actions are attached to task ':app:compileDevDebugJavaWithJavac'. [ ] Caching disabled for task ':app:compileDevDebugJavaWithJavac' because: [ ] Build cache is disabled [ ] Skipping task ':app:compileDevDebugJavaWithJavac' as it is up-to-date. [ ] No compile result for :app:compileDevDebugJavaWithJavac [ ] No compile result for :app:compileDevDebugJavaWithJavac [ ] Resolve mutations for :app:compressDevDebugAssets (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:compressDevDebugAssets (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:compressDevDebugAssets UP-TO-DATE [ ] Caching disabled for task ':app:compressDevDebugAssets' because: [ ] Build cache is disabled [ ] Skipping task ':app:compressDevDebugAssets' as it is up-to-date. [ ] Resolve mutations for :app:desugarDevDebugFileDependencies (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:desugarDevDebugFileDependencies (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:desugarDevDebugFileDependencies UP-TO-DATE [ ] Caching disabled for task ':app:desugarDevDebugFileDependencies' because: [ ] Build cache is disabled [ ] Skipping task ':app:desugarDevDebugFileDependencies' as it is up-to-date. [ ] Resolve mutations for :app:dexBuilderDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:dexBuilderDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:dexBuilderDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:dexBuilderDevDebug' because: [ ] Build cache is disabled [ ] Skipping task ':app:dexBuilderDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:mergeDevDebugGlobalSynthetics (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeDevDebugGlobalSynthetics (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeDevDebugGlobalSynthetics UP-TO-DATE [ ] Caching disabled for task ':app:mergeDevDebugGlobalSynthetics' because: [ ] Build cache is disabled [ ] Skipping task ':app:mergeDevDebugGlobalSynthetics' as it is up-to-date. [ ] Resolve mutations for :app:processDevDebugJavaRes (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:processDevDebugJavaRes (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:processDevDebugJavaRes UP-TO-DATE [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/main/resources', not found [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/dev/resources', not found [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/debug/resources', not found [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/devDebug/resources', not found [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/main/resources', not found [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/dev/resources', not found [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/debug/resources', not found [ ] file or directory '/Users/admin/develop/projects/flavors_example/android/app/src/devDebug/resources', not found [ ] Caching disabled for task ':app:processDevDebugJavaRes' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:processDevDebugJavaRes' as it is up-to-date. [ ] Resolve mutations for :app:mergeDevDebugJavaResource (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeDevDebugJavaResource (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeDevDebugJavaResource UP-TO-DATE [ ] Caching disabled for task ':app:mergeDevDebugJavaResource' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:mergeDevDebugJavaResource' as it is up-to-date. [ ] Resolve mutations for :app:checkDevDebugDuplicateClasses (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:checkDevDebugDuplicateClasses (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:checkDevDebugDuplicateClasses UP-TO-DATE [ ] Caching disabled for task ':app:checkDevDebugDuplicateClasses' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:checkDevDebugDuplicateClasses' as it is up-to-date. [ ] Resolve mutations for :app:mergeExtDexDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeExtDexDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeExtDexDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:mergeExtDexDevDebug' because: [ ] Build cache is disabled [ ] Skipping task ':app:mergeExtDexDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:mergeLibDexDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeLibDexDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeLibDexDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:mergeLibDexDevDebug' because: [ ] Build cache is disabled [ ] Skipping task ':app:mergeLibDexDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:mergeProjectDexDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeProjectDexDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeProjectDexDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:mergeProjectDexDevDebug' because: [ ] Build cache is disabled [ ] Skipping task ':app:mergeProjectDexDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:compileFlutterBuildProdDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:compileFlutterBuildProdDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [+1097 ms] > Task :app:compileFlutterBuildProdDebug [ ] Caching disabled for task ':app:compileFlutterBuildProdDebug' because: [ ] Build cache is disabled [ ] Caching has not been enabled for the task [ ] Task ':app:compileFlutterBuildProdDebug' is not up-to-date because: [ ] Value of input property 'verbose' has changed for task ':app:compileFlutterBuildProdDebug' [ ] Starting process 'command '/Users/admin/develop/flutter/bin/flutter''. Working directory: /Users/admin/develop/projects/flavors_example Command: /Users/admin/develop/flutter/bin/flutter --verbose assemble --no-version-check --depfile /Users/admin/develop/projects/flavors_example/build/app/intermediates/flutter/prodDebug/flutter_build.d --output /Users/admin/develop/projects/flavors_example/build/app/intermediates/flutter/prodDebug -dTargetFile=lib/main.dart -dTargetPlatform=android -dBuildMode=debug -dTrackWidgetCreation=true --DartDefines=RkxVVFRFUl9BUFBfRkxBVk9SPWRldg==,RkxVVFRFUl9WRVJTSU9OPTMuNDEuNA==,RkxVVFRFUl9DSEFOTkVMPXN0YWJsZQ==,RkxVVFRFUl9HSVRfVVJMPWh0dHBzOi8vZ2l0aHViLmNvbS9mbHV0dGVyL 2ZsdXR0ZXIuZ2l0,RkxVVFRFUl9GUkFNRVdPUktfUkVWSVNJT049ZmYzN2JlZjYwMw==,RkxVVFRFUl9FTkdJTkVfUkVWSVNJT049ZTRiOGRjYTNmMQ==,RkxVVFRFUl9EQVJUX1ZFUlNJT049My4xMS4x -dFlavor=prod -dAndroidArchs=android-arm android-arm64 android-x64 -dMinSdkVersion=24 debug_android_application [ ] Successfully started process 'command '/Users/admin/develop/flutter/bin/flutter'' [ ] [ +17 ms] executing: sysctl hw.optional.arm64 [ ] [ +3 ms] Exit code 0 from: sysctl hw.optional.arm64 [ ] [ ] hw.optional.arm64: 1 [ ] [ +3 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +3 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ +22 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterEngineStamp' is not required, skipping update. [ ] [ ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update. [ ] [ ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update. [ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update. [ ] [ +20 ms] Initializing file store [ ] [ +4 ms] Done initializing file store [ ] [ +16 ms] Skipping target: dart_build [ ] [ ] Skipping target: gen_dart_plugin_registrant [ ] [ ] Skipping target: install_code_assets [ ] [ ] Skipping target: gen_localizations [ ] [ +350 ms] Skipping target: kernel_snapshot_program [ ] [ +281 ms] Skipping target: debug_android_application [ ] [ ] Persisting file store [ ] [ +3 ms] Done persisting file store [ ] [ +5 ms] build succeeded. [ ] [ +2 ms] "flutter assemble" took 713ms. [ ] [ +2 ms] executing: sw_vers -productName [ ] [ +9 ms] Exit code 0 from: sw_vers -productName [ ] [ ] macOS [ ] [ ] executing: sw_vers -productVersion [ ] [ +7 ms] Exit code 0 from: sw_vers -productVersion [ ] [ ] 26.3.1 [ ] [ ] executing: sw_vers -buildVersion [ ] [ +7 ms] Exit code 0 from: sw_vers -buildVersion [ ] [ ] 25D2128 [ ] [ ] executing: uname -m [ ] [ +3 ms] Exit code 0 from: uname -m [ ] [ ] arm64 [ ] [ +29 ms] Running 1 shutdown hook [ ] [ ] Shutdown hooks complete [ ] [ +179 ms] exiting with code 0 [ ] Resolve mutations for :app:packJniLibsflutterBuildProdDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:packJniLibsflutterBuildProdDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:packJniLibsflutterBuildProdDebug UP-TO-DATE [ ] Caching disabled for task ':app:packJniLibsflutterBuildProdDebug' because: [ ] Build cache is disabled [ ] Not worth caching [ ] Skipping task ':app:packJniLibsflutterBuildProdDebug' as it is up-to-date. [ ] Resolve mutations for :app:preProdDebugBuild (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:preProdDebugBuild (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:preProdDebugBuild UP-TO-DATE [ ] Skipping task ':app:preProdDebugBuild' as it has no actions. [ ] Resolve mutations for :app:configureCMakeDebug[arm64-v8a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:configureCMakeDebug[arm64-v8a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:configureCMakeDebug[arm64-v8a] [ ] Caching disabled for task ':app:configureCMakeDebug[arm64-v8a]' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Task ':app:configureCMakeDebug[arm64-v8a]' is not up-to-date because: [ ] Task.upToDateWhen is false. [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|arm64-v8a : Start JSON generation. Platform version: 24 min SDK version: arm64-v8a [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|arm64-v8a : JSON '/Users/admin/develop/projects/flavors_example/build/.cxx/debug/42rt3y32/arm64-v8a/android_gradle_build.json' was up-to-date [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|arm64-v8a : JSON generation completed without problems [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|arm64-v8a : Writing build model to /Users/admin/develop/projects/flavors_example/build/app/intermediates/cxx/debug/42rt3y32/logs/arm64-v8a/build_model.json [ ] Resolve mutations for :app:buildCMakeDebug[arm64-v8a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:buildCMakeDebug[arm64-v8a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:buildCMakeDebug[arm64-v8a] [ ] Caching disabled for task ':app:buildCMakeDebug[arm64-v8a]' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Task ':app:buildCMakeDebug[arm64-v8a]' is not up-to-date because: [ ] Task.upToDateWhen is false. [ ] C/C++: starting build [ ] C/C++: reading expected JSONs [ ] C/C++: done reading expected JSONs [ ] C/C++: executing build commands for targets that produce .so files or executables [ ] C/C++: evaluate miniconfig [ ] C/C++: no libraries [ ] Resolve mutations for :app:configureCMakeDebug[armeabi-v7a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:configureCMakeDebug[armeabi-v7a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:configureCMakeDebug[armeabi-v7a] [ ] Caching disabled for task ':app:configureCMakeDebug[armeabi-v7a]' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Task ':app:configureCMakeDebug[armeabi-v7a]' is not up-to-date because: [ ] Task.upToDateWhen is false. [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|armeabi-v7a : Start JSON generation. Platform version: 24 min SDK version: armeabi-v7a [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|armeabi-v7a : JSON '/Users/admin/develop/projects/flavors_example/build/.cxx/debug/42rt3y32/armeabi-v7a/android_gradle_build.json' was up-to-date [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|armeabi-v7a : JSON generation completed without problems [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|armeabi-v7a : Writing build model to /Users/admin/develop/projects/flavors_example/build/app/intermediates/cxx/debug/42rt3y32/logs/armeabi-v7a/build_model.json [ ] Resolve mutations for :app:buildCMakeDebug[armeabi-v7a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:buildCMakeDebug[armeabi-v7a] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:buildCMakeDebug[armeabi-v7a] [ ] Caching disabled for task ':app:buildCMakeDebug[armeabi-v7a]' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Task ':app:buildCMakeDebug[armeabi-v7a]' is not up-to-date because: [ ] Task.upToDateWhen is false. [ ] C/C++: starting build [ ] C/C++: reading expected JSONs [ ] C/C++: done reading expected JSONs [ ] C/C++: executing build commands for targets that produce .so files or executables [ ] C/C++: evaluate miniconfig [ ] C/C++: no libraries [ ] Resolve mutations for :app:configureCMakeDebug[x86_64] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:configureCMakeDebug[x86_64] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:configureCMakeDebug[x86_64] [ ] Caching disabled for task ':app:configureCMakeDebug[x86_64]' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Task ':app:configureCMakeDebug[x86_64]' is not up-to-date because: [ ] Task.upToDateWhen is false. [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|x86_64 : Start JSON generation. Platform version: 24 min SDK version: x86_64 [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|x86_64 : JSON '/Users/admin/develop/projects/flavors_example/build/.cxx/debug/42rt3y32/x86_64/android_gradle_build.json' was up-to-date [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|x86_64 : JSON generation completed without problems [ ] C/C++: /Users/admin/develop/flutter/packages/flutter_tools/gradle/src/main/scripts/CMakeLists.txt prodDebug|x86_64 : Writing build model to /Users/admin/develop/projects/flavors_example/build/app/intermediates/cxx/debug/42rt3y32/logs/x86_64/build_model.json [ ] Resolve mutations for :app:buildCMakeDebug[x86_64] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:buildCMakeDebug[x86_64] (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:buildCMakeDebug[x86_64] [ ] Caching disabled for task ':app:buildCMakeDebug[x86_64]' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Task ':app:buildCMakeDebug[x86_64]' is not up-to-date because: [ ] Task.upToDateWhen is false. [ ] C/C++: starting build [ ] C/C++: reading expected JSONs [ ] C/C++: done reading expected JSONs [ ] C/C++: executing build commands for targets that produce .so files or executables [ ] C/C++: evaluate miniconfig [ ] C/C++: no libraries [ ] Resolve mutations for :app:mergeDevDebugJniLibFolders (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeDevDebugJniLibFolders (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeDevDebugJniLibFolders UP-TO-DATE [ ] Caching disabled for task ':app:mergeDevDebugJniLibFolders' because: [ ] Build cache is disabled [ ] Simple merging task [ ] Skipping task ':app:mergeDevDebugJniLibFolders' as it is up-to-date. [ ] Resolve mutations for :app:mergeDevDebugNativeLibs (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:mergeDevDebugNativeLibs (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:mergeDevDebugNativeLibs UP-TO-DATE [ ] Caching disabled for task ':app:mergeDevDebugNativeLibs' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:mergeDevDebugNativeLibs' as it is up-to-date. [ ] Resolve mutations for :app:stripDevDebugDebugSymbols (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:stripDevDebugDebugSymbols (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:stripDevDebugDebugSymbols UP-TO-DATE [ ] Caching disabled for task ':app:stripDevDebugDebugSymbols' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:stripDevDebugDebugSymbols' as it is up-to-date. [ ] Resolve mutations for :app:validateSigningDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:validateSigningDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:validateSigningDevDebug UP-TO-DATE [ ] Caching disabled for task ':app:validateSigningDevDebug' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:validateSigningDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:writeDevDebugAppMetadata (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:writeDevDebugAppMetadata (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:writeDevDebugAppMetadata UP-TO-DATE [ ] Caching disabled for task ':app:writeDevDebugAppMetadata' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:writeDevDebugAppMetadata' as it is up-to-date. [ ] Resolve mutations for :app:writeDevDebugSigningConfigVersions (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:writeDevDebugSigningConfigVersions (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:writeDevDebugSigningConfigVersions UP-TO-DATE [ ] Caching disabled for task ':app:writeDevDebugSigningConfigVersions' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:writeDevDebugSigningConfigVersions' as it is up-to-date. [ ] Resolve mutations for :app:packageDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:packageDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:packageDevDebug UP-TO-DATE [ ] Custom actions are attached to task ':app:packageDevDebug'. [ ] Caching disabled for task ':app:packageDevDebug' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:packageDevDebug' as it is up-to-date. [ ] Resolve mutations for :app:createDevDebugApkListingFileRedirect (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:createDevDebugApkListingFileRedirect (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] > Task :app:createDevDebugApkListingFileRedirect UP-TO-DATE [ ] Caching disabled for task ':app:createDevDebugApkListingFileRedirect' because: [ ] Build cache is disabled [ ] Caching has been disabled for the task [ ] Skipping task ':app:createDevDebugApkListingFileRedirect' as it is up-to-date. [ ] Resolve mutations for :app:assembleDevDebug (Thread[#2143,Execution worker Thread 2,5,main]) started. [ ] :app:assembleDevDebug (Thread[#2141,included builds,5,main]) started. [ +66 ms] > Task :app:assembleDevDebug [ ] Caching disabled for task ':app:assembleDevDebug' because: [ ] Build cache is disabled [ ] Task ':app:assembleDevDebug' is not up-to-date because: [ ] Task has not declared any outputs despite executing actions. [ ] Build ee074656-9181-4d34-9ae7-434782669476 is closed [ ] [Incubating] Problems report is available at: file:///Users/admin/develop/projects/flavors_example/build/reports/problems/problems-report.html [ ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. [ ] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. [ ] For more on this, please refer to https://docs.gradle.org/8.14/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. [ ] BUILD SUCCESSFUL in 3s [ ] 55 actionable tasks: 13 executed, 42 up-to-date [ ] Watched directory hierarchies: [/Users/admin/develop/flutter/packages/flutter_tools/gradle, /Users/admin/develop/projects/flavors_example/android] [ +16 ms] Running Gradle task 'assembleDevDebug'... (completed in 3.7s) [ +11 ms] Calculate SHA1: LocalDirectory: '/Users/admin/develop/projects/flavors_example/build/app/outputs/flutter-apk'/app-dev-debug.apk [ +931 ms] ✓ Built build/app/outputs/flutter-apk/app-dev-debug.apk [ +12 ms] "flutter apk" took 5,112ms. [ +2 ms] executing: sw_vers -productName [ +11 ms] Exit code 0 from: sw_vers -productName [ ] macOS [ ] executing: sw_vers -productVersion [ +9 ms] Exit code 0 from: sw_vers -productVersion [ ] 26.3.1 [ ] executing: sw_vers -buildVersion [ +9 ms] Exit code 0 from: sw_vers -buildVersion [ ] 25D2128 [ ] executing: uname -m [ +4 ms] Exit code 0 from: uname -m [ ] arm64 [ +25 ms] Running 1 shutdown hook [ +1 ms] Shutdown hooks complete [ +100 ms] exiting with code 0 admin@Mac flavors_example %
- addedplatform-androidAndroid applications specificallyAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on Androidteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamand removedin triagePresently being triaged by the triage teamPresently being triaged by the triage team
on Mar 10, 2026 - addedtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.team-androidOwned by Android platform teamOwned by Android platform teamand removedteam-toolOwned by Flutter Tool teamOwned by Flutter Tool team
on Mar 10, 2026 Rerouting to
team-androidas this is Android specific.I traced this issue further and was able to confirm the behavior in our real Flutter app, not just in a minimal repro.
In our app, the pre-folding C/C++ ABI inputs include all flavored debug variants, for example:
devDebugbetaDebugprodDebug
For the same ABI, these variants have identical CMake configuration arguments, so AGP folds them into the same generic debug CMake tasks.
From our real project trace:
configureCMakeDebug[arm64-v8a] coveredVariants=[devDebug, betaDebug, prodDebug] representative=prodDebugbuildCMakeDebug[arm64-v8a] coveredVariants=[devDebug, betaDebug, prodDebug] representative=prodDebug
We also traced the representative switch step-by-step in the real project:
- step 0:
coveredVariants=[devDebug],representative=devDebug - step 1:
coveredVariants=[devDebug, betaDebug],representative=betaDebug - step 2:
coveredVariants=[devDebug, betaDebug, prodDebug],representative=prodDebug
This seems to come from AGP's folding behavior in
com/android/build/gradle/internal/cxx/configure/CxxConfigurationFolding.kt:- Task naming only includes the build type, not the flavor:
private fun taskNameAnnotation(configuration: Configuration): String { val buildType = buildTypeOf(buildSystem, configuration) return buildSystemName.appendCapitalized(buildType) }
- When multiple variants fold into the same task name, the representative ABI is replaced by the most recently processed one:
private fun MutableMap<TaskName, Pair<List<VariantName>, CxxAbiModel>>.setRepresentativeAbiForTask( taskName: TaskName, abi: CxxAbiModel ) { val prior = map[taskName] if (prior == null) { map[taskName] = listOf(abi.variant.variantName) to abi } else { val (priorVariants, priorAbi) = prior ... map[taskName] = (priorVariants + abi.variant.variantName) to abi } }
That matches our runtime trace exactly: all flavored debug variants are present before folding, but the generic CMake task keeps the last flavor as the representative.
So the root cause seems to be:
- Flutter's
forceNdkDownload()inpackages/flutter_tools/gradle/src/main/kotlin/FlutterPluginUtils.ktgives every flavor the same synthetic CMake configuration - AGP then folds those flavored variants into the same generic
configureCMakeDebug[...]/buildCMakeDebug[...]tasks - the representative ends up being the last processed flavor, which is why
prodDebugleaks intodevDebug
A possible Flutter-side fix would be to keep the existing
forceNdkDownload()workaround, but make the synthetic CMake configuration flavor-aware, for example by adding a flavor-specific no-op CMake argument inFlutterPluginUtils.kt. That should preserve the NDK-download behavior while preventing AGP from folding all flavored variants into the same generic debug CMake task.If this direction sounds acceptable, would you be open to a PR implementing that approach?
We tried the
flavor-aware synthetic argsapproach on a patched Flutter clone, but it did not fix the issue in our real project.What we tried:
- adding a flavor-specific synthetic CMake arg via
productFlavor.externalNativeBuild.cmake.arguments(...) - adding a variant-specific synthetic arg via
androidComponents.onVariants { variant.externalNativeBuild.arguments.add(...) } - moving the flavor-specific arg injection to
androidComponents.finalizeDsl { ... }
For each attempt, we re-ran the real-project AGP trace and inspected the actual
configurationArgumentsused by the Cxx model.Result:
- the synthetic arg never appeared in
abi.configurationArguments - the flavored debug variants still had identical CMake argument lists
- AGP still folded them into the same generic tasks, e.g.
configureCMakeDebug[arm64-v8a] coveredVariants=[devDebug, betaDebug, prodDebug] representative=prodDebug
So at least with the Flutter-side public DSL/Variant API paths we tried, the synthetic-arg approach does not seem to reach the native configuration snapshot that AGP later uses for Cxx task folding.
This does not invalidate the root-cause analysis, but it does mean our first attempted Flutter-side mitigation was ineffective.
- adding a flavor-specific synthetic CMake arg via
I just opened a PR for this issue: #183555. It includes the latest findings, including the flavored-build preprovisioning path.
- addedP2Important issues not at the top of the work listImportant issues not at the top of the work listtriaged-androidTriaged by Android platform teamTriaged by Android platform team
on Mar 17, 2026 cc @mboetger
- added a commit that references this issue
on Apr 13, 2026 - added a commit that references this issue
on Apr 15, 2026 - added a commit that references this issue
on Apr 15, 2026 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Apr 27, 2026 Re opening and un locking because the original pr was reverted
- unlocked this conversation
on Apr 27, 2026
What package does this bug report belong to?
flutter_tools / Android Gradle integration
What target platforms are you seeing this bug on?
Android
Have you already upgraded your packages?
Yes. This reproduces on Flutter
3.41.2.Dependency versions
Problem description
When building a flavored Android app, Flutter sometimes executes
compileFlutterBuildfor a different flavor during the same build.In my case:
flutter build apk --debug --flavor devalso executescompileFlutterBuildProdDebugflutter build apk --flavor devalso executescompileFlutterBuildProdReleaseThis appears to be cross-flavor task contamination. I can reproduce it in a fresh Flutter Android app by adding only product flavors.
Steps to reproduce
flutter create --platforms=android flavor_repro cd flavor_reproandroid { flavorDimensions "default" productFlavors { dev { dimension "default" applicationIdSuffix ".dev" } prod { dimension "default" } } }devflavor:Expected results
When building
devDebugordevRelease, only thedevFlutter compile task should run.flutter build apk --debug --flavor devshould only executecompileFlutterBuildDevDebugflutter build apk --flavor devshould only executecompileFlutterBuildDevReleaseActual results
prodFlutter compile tasks are also executed duringdevbuilds.compileFlutterBuildProdDebugis executed duringassembleDevDebugcompileFlutterBuildProdReleaseis executed duringassembleDevReleaseThe expensive Flutter work actually runs twice, so this is not just a wrapper task duplication.
Code sample
The issue reproduces with only Android product flavors added. I do not need to add my own native code or my own
externalNativeBuildblock in the app config.Logs
devDebugpullsprodDebugObserved task path:
Generated CMake task details:
devReleasepulls bothprodReleaseanddevReleaseObserved task graph:
Observed timings from
flutter build apk --flavor dev -v:compileFlutterBuildProdReleasekernel_snapshot_program: Completein about129s"flutter assemble" took 176,669mscompileFlutterBuildDevReleasekernel_snapshot_program: Completein about48s"flutter assemble" took 82,667msObserved timings from
flutter build apk --debug --flavor dev -v:compileFlutterBuildDevDebugkernel_snapshot_program: Completein about78scompileFlutterBuildProdDebugkernel_snapshot_program: Completein about59sAdditional note
This issue does not appear symmetric.
devbuilds pullprodFlutter compile tasksprodbuilds do not pulldevFlutter compile tasksFor example,
flutter build apk --debug --flavor prod -vonly executedcompileFlutterBuildProdDebugin my testing.Flutter Doctor output
Related issue
This looks related to #163591, but this report appears broader because:
debugandrelease