Skip to content

[tool_crash] FileSystemException: Deletion failed, OS Error: The system cannot find the specified path. , errno = 3 #195733

Open

Description

@yaxin3690

Command

flutter build aar --release --no-debug --no-profile --build-number 35051000 --target-platform android-arm --target-platform android-arm64

Environmental Description

  1. Operating system: Windows 10
  2. Flutter SDK version: 3.7.10

Steps to Reproduce

  1. Open the terminal of Android Studio.
  2. Use the cd command to enter the flutterModule directory.
  3. Execute the Command.

Logs

FileSystemException: Deletion failed, OS Error: 系统找不到指定的路径。
, errno = 3

#0      _Directory._deleteSync (dart:io/directory_impl.dart:193:7)
#1      FileSystemEntity.deleteSync (dart:io/file_system_entity.dart:424:7)
#2      ForwardingFileSystemEntity.deleteSync (package:file/src/forwarding/forwarding_file_system_entity.dart:70:16)
#3      ErrorHandlingDirectory.deleteSync.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:487:22)
#4      _runSync (package:flutter_tools/src/base/error_handling_io.dart:600:14)
#5      ErrorHandlingDirectory.deleteSync (package:flutter_tools/src/base/error_handling_io.dart:486:12)
#6      ErrorHandlingFileSystem.deleteIfExists (package:flutter_tools/src/base/error_handling_io.dart:82:12)
#7      AndroidProject._regenerateLibrary (package:flutter_tools/src/project.dart:556:29)
#8      AndroidProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:531:13)
#9      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:359:21)
<asynchronous suspension>
#10     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1412:7)
<asynchronous suspension>
#11     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1257:27)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#13     CommandRunner.runCommand (packa

Activity

  1. changed the title [-][tool_crash] FileSystemException: Deletion failed, OS Error: 系统找不到指定的路径。 , errno = 3[/-] [+][tool_crash] FileSystemException: Deletion failed, OS Error: The system cannot find the specified path. , errno = 3[/+] on Oct 31, 2026
  2. puneetkukreja98 commented on Nov 2, 2026

    @puneetkukreja98
    Contributor

    @yaxin3690 Thanks for reporting the issue. You are using a significantly outdated version of Flutter. Please update to the latest stable version (3.47.9) and check if you can still reproduce the issue.

    If it still reproduces on latest stable, then please provide your flutter doctor -v.

    Thanks!

  3. added
    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds
    and removed
    in triagePresently being triaged by the triage team
    on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions