Repository navigation
flutter clean seems to "break off" visually in terminal (PS), unknown if all clean tasks are run. #192531
Copy link
Copy link
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Steps to reproduce
- Do some build operations
- You feel that the build caches may be clogged (builds take long time)
- Do a
flutter clean
-> Flutter clean starts, but stops after a few seconds, and the spinner seem to have stopped in the middle of the spin.
Expected results
I want the clean process to spin, and give me feedback on what has been cleaned up.
Actual results
Unknown clean state
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
PS C:\FlutterProjects\mOffice> flutter doctor -v
[√] Flutter (Channel beta, 3.48.0-0.4.pre, on Microsoft Windows [Version 10.0.26200.9445], locale nb-NO) [411ms]
• Flutter version 3.48.0-0.4.pre on channel beta at C:\Flutter\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision e3005e3402 (8 days ago), 2026-09-02 14:26:34 -0700
• Engine revision e2149387c6
• Dart version 3.14.0 (build 3.14.0-95.2.beta)
• DevTools version 2.61.0-dev.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, enable-record-use, enable-swift-package-manager, omit-legacy-version-file,
enable-lldb-debugging, enable-uiscene-migration
[√] Windows Version (Windows 11 or higher, 25H2, 2009) [1 055ms]
[√] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [891ms]
• Android SDK at c:/android/sdk
• Emulator version 36.1.3.0 (build_id 13572372) (CL:N/A)
• Platform android-CANARY.backup.backup, build-tools 37.0.0
• Java binary at: C:\Program Files\Java\jdk-21.0.12.1\bin\java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 21.0.12.1+1-LTS-4)
• All Android licenses accepted.
[√] Chrome - develop for the web [161ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.1) [160ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.10.34928.147
• Windows 10 SDK version 10.0.22621.0
[√] Connected device (3 available) [316ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26200.9445]
• Chrome (web) • chrome • web-javascript • Google Chrome 152.0.7977.83
• Edge (web) • edge • web-javascript • Microsoft Edge 152.0.4191.66
! Device R5CXC0ZZGNZ is not authorized.
You might need to check your device for an authorization dialog.
[√] Network resources [761ms]
• All expected network resources are available.
• No issues found!Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Activity
suryaKommana2662 commentedon Sep 10, 2026
@RoarGronmo Thanks for the report. I was able to reproduce the reported terminal behavior on macOS 26.4 using Flutter 3.48.0-0.4.pre. Running
flutter cleanproduced the following terminal output:The command returned to the shell prompt after displaying Deleting build... ⣯% without showing a completion message. However, the command completed successfully with exit code 0, and both the build and .dart_tool directories were removed. This suggests that the clean operation itself completes successfully, while the progress spinner/terminal output may stop updating before the command finishes. Routing to the
team-toolfor the further investigation.Flutter Doctor Output
[flutter_tools] Stop deletion progress status during flutter clean (f…
[beta] [flutter_tools] Stop deletion progress status during flutter c…
github-actions commentedon Oct 2, 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.