You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[flutter_tools] PathNotFoundException during native assets cleanup #190234
During native assets cleanup in _copyNativeCodeAssetsForOS, the tool iterates over the target directory and deletes files.
If a file (such as a macOS metadata ._* file or a temporary file) is deleted by the OS or another process after being listed but before the tool attempts to delete it, the tool crashes with PathNotFoundException (ENOENT).
We should use ErrorHandlingFileSystem.deleteIfExists to safely handle this race condition.
Note: This issue was identified as a top-10 crasher in the Flutter stable release version 3.44.8.
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 -v and a minimal reproduction of the issue.
Activity
[flutter_tools] Reference issue flutter#190234 in native assets regre…
[flutter_tools] Fix PathNotFoundException during native assets cleanup (
[stable] [flutter_tools] Fix PathNotFoundException during native asse…
github-actions commentedon Aug 19, 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.