java.io.IOException: Unable to delete file/directory :app:cleanMergeDebugAssets Flutter - VS CODE

Viewed 21

It's been a week now since I am trying all avaliable solution here for this problem but nothing worked for me.

The problem is that I created a new flutter application and I copied all packages and modules I needed from the my prevoius projects . Run flutter clean, flutter pub get .. etc and when I run the project it keeps showing me different error everytime I run the app but they are all about unabling to delete a certain file in build (Photos explain well ).

I tried to move my new project to a new folder and when I run the default counter app in flutter it works just fine but once I copy my pacakges, modules errors begin to show.

I also tried to delete kotlin plugin, kill java process, deleting build manaulay ( it worked only for first run but problem comes back again )

enter image description here

Second run, different error

OS : Windows 7

0 Answers
Related