一、Error:Execution failed for task ':app:clean'. > Unable to delete directory
2017-06-30 16:03
597 查看
Error:Execution failed for task ':app:clean'. > Unable to delete directory
这里本人推荐两种方式,原理都是一样的,无非就是要clean
温柔版:根据提示我们要对项目进行clean,在as中进行build->Clean project效果图如下:
build->clean project,如果没有用,就试试重启AS再试试看。这种clean方式可能用起来会久点,所以推荐可以粗暴版。
粗暴版:直接关闭项目,然后在项目文件的(项目名\app\build),找到这个build文件然后直接删除,然后重启AS。注意不要删错(项目名\build)。
相关文章推荐
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: 最新解决方法
- Error:Execution failed for task ':app:clean'. > Unable to delete directory:
- Android 异常:Error:Execution failed for task ':app:clean'. > Unable to delete directory:
- Error:Execution failed for task ':app:clean'. > Unable to delete directory 终极解决方案
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: D:\testDlaner\MyNDKDemo\
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: C:\Users\hasee\Desktop\B
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: /media/file/workspaces/a
- Error:Execution failed for task ':app:clean'. > Unable to delete directory 终极解决方案
- Error:Execution failed for task ':app:clean'. > Unable to delete directory:......
- Error:Execution failed for task ':app:clean'. > Unable to delete directory:
- Error:Execution failed for task ':app:clean'. > Unable to delete directory 解决方案
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: E:\jiajian\jiajian\app\b
- Android运行项目报错:Error:Execution failed for task ':app:clean'. > Unable to delete directory:
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: E:\Work\Testjni\app\buil
- Error:Execution failed for task ':app:clean'. > Unable to delete directory
- 解决Execution failed for task ':app:clean'. > Unable to delete directory问题
- Error:Execution failed for task ':clean'. > Unable to delete directory :\build\intermediates
- Error:Execution failed for task ':clean'. > Unable to delete directory :\build\intermediates
- Error:Execution failed for task ':zebradrive_sdk:clean'. > Unable to delete directory: D:\AndroidStu
- Error:Execution failed for task ':clean'. > Unable to delete directory :\build\intermediates