Content-Length: 283309 | pFad | http://github.com/flutter/flutter/issues/145028

77 [flutter_tools] PathAccessException deleting files under build\app\intermediates because file "is being used by another process" · Issue #145028 · flutter/flutter · GitHub
Skip to content

[flutter_tools] PathAccessException deleting files under build\app\intermediates because file "is being used by another process" #145028

@christopherfujino

Description

@christopherfujino

On beta/3.20.0-1.2.pre
Command flutter assemble ...

PathAccessException: Cannot delete file, path = 'C:\src\my_flutter_app\build\app\intermediates\flutter\debug\flutter_assets\kernel_blob.bin' (OS Error: The process cannot access the file because it is being used by another process.
, errno = 32)
at _File.throwIfError(file_impl.dart:675)
at _File._deleteSync(file_impl.dart:329)
at FileSystemEntity.deleteSync(file_system_entity.dart:407)
at ForwardingFileSystemEntity.deleteSync(forwarding_file_system_entity.dart:70)
at ForwardingFileSystemEntity.deleteSync(forwarding_file_system_entity.dart:70)
at ErrorHandlingFileSystem.deleteIfExists(error_handling_io.dart:80)
at FlutterBuildSystem.trackSharedBuildDirectory(build_system.dart:778)
at FlutterBuildSystem.build(build_system.dart:666)
at <asynchronous gap>(async)
at AssembleCommand.runCommand(assemble.dart:322)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1383)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:212)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:360)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:300)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:119)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:153)
at <asynchronous gap>(async)
at main(executable.dart:92)
at <asynchronous gap>(async)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/145028

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy