Repository navigation
flutter run --no-build still builds the app #68529
Description
Activity
- addedtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.P2Important issues not at the top of the work listImportant issues not at the top of the work list
on Oct 19, 2020 Possibly broken in #8743?
We tried to use this for multiple CI runs, and since it didn't work we used
--use-application-binarywhich required knowing the app bundle name.Also, it doesn't work for drive #10774
@jonahwilliams is
--buildobsolete?I don't see anything in flutter_tools that still reads that flag.
I don't think intentionally obsolete.
We should still use use-application-binary and not --no-build. If this flag hasn't worked for more than a year its effectively deprecated anyway
If this flag hasn't worked for more than a year its effectively deprecated anyway
Fair enough.We should still use use-application-binary and not --no-build.
It would have been the perfect thing to use in #68516 since the tool already knows where the built binary is, and you don't need to pass in the path or know the bundle name (which changes depending on how you set up the app's display name).
Reacted by Dong4AmThat's true, but that will only be temporarily useful
flutter drive --no-buildworks, butflutter run --no-builddoesn't. I thought drive is just fancy wrapper over run and connect, so that's weird.Adding labels based on reproduction of #72342.
- addeda: buildBuilding flutter applications with the toolBuilding flutter applications with the toolfound in release: 1.25Found to occur in 1.25Found to occur in 1.25
on Dec 16, 2020 7 remaining items
I can still reproduce this with iOS.
xcrun xcodebuildis being run as observed in the verbose logs. Updating labels- addedfound in release: 3.3Found to occur in 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7Found to occur in 3.7and removedfound in release: 1.25Found to occur in 1.25Found to occur in 1.25
on Dec 20, 2022 - addedteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
on Jul 8, 2023 @jmagman: I'm confused at the goal of this issue and the back and forth.
We want to deprecate
--no-buildand push folks towards--use-application-binary?- addedtool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.Issues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.
on Jul 10, 2025 - marked [integration_test] Changing test code doesn't work with --no-build parameter #72276 as a duplicate of this issue
on Jul 10, 2025 @matanlurey and --use-application-binary will be working for Flutter Web?
See #72276 (comment)- added a commit that references this issue
on Aug 21, 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 Sep 4, 2026
flutter run --no-buildis actually building my iOS app, even thoughbuild/ios/iphoneos/Runner.appexists and (if I'm understanding the feature) it should be using that.Note the "Compiling, linking and signing" below (ran with verbose, it really is recompiling):
Feature introduced in #5301.