I'm working on flutter to develop a "map-navigation app". I'm new to it. It showed "some of the dependencies are outdated" so I update the packages and pub files, after that the application is not running on any of the platform (i.e. Desktop, Web, android and ios). It shows the following given error.
Also tried manually deleting the build folder from the project and then executing the app, still facing the same error.
Manually deleting the build folder, applying flutter clean command then running the app still shows the error below:

Launching lib\main.dart on Chrome in debug mode...
Flutter failed to delete a directory at "build\flutter_assets".
The flutter tool cannot access the file or directory.
Please ensure that the SDK and/or project is installed
in a location that has read/write permissions for the current user.
Waiting for connection from debug service on Chrome...

I want to execute this application on web or android. Want to provide flutter tool the access to file or directory.