【IDEA】IDEA打包时clean报错Failed to delete......

发布时间 2023-04-07 13:49:20作者: 独孤无绝

现象:控制台报Failed to clean project:Failed to delete

原因:target文件可能时编译的文件被其他程序占用,导致资源无法回收,网络上找到的解决办法,在此做一下记录。

解决方案:

1.在开始搜索框中输入“资源监视器”----切换到CPU页面-----在关联的句柄的输入框中----输入target,回车,就能找到被占用的进程

2.选中搜索结果,鼠标右键,结束进程
————————————————

原文链接:https://blog.csdn.net/weixin_46483006/article/details/127721427