Error:Execution failed for task ':clean'. > Unable to delete directory :\build\intermediates
2016-09-14 09:10
323 查看
Error:Execution failed for task ‘:clean’. > Unable to delete directory :\build\intermediates
我用的是Android studio,之前就一直碰到这个问题,用的一种笨方法,就是重启AS,一般就可以运行程序了。但是这样太麻烦了。今日又重新查找,在这里http://stackoverflow.com/questions/32914499/error-execution-failed-for-task-appclean-unable-to-delete-file
找到了解决办法。
方法一:进入studio,进入settings,搜索instant run,进入该界面,有四个选项,第一个默认是打勾的,去其去掉就可以了。
方法二:在Android studio 的Terminal中输入:gradlew clean 即可。
我用的是Android studio,之前就一直碰到这个问题,用的一种笨方法,就是重启AS,一般就可以运行程序了。但是这样太麻烦了。今日又重新查找,在这里http://stackoverflow.com/questions/32914499/error-execution-failed-for-task-appclean-unable-to-delete-file
找到了解决办法。
方法一:进入studio,进入settings,搜索instant run,进入该界面,有四个选项,第一个默认是打勾的,去其去掉就可以了。
方法二:在Android studio 的Terminal中输入:gradlew clean 即可。
相关文章推荐
- 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 ':clean'. > Unable to delete directory :\build\intermediates
- Error:Execution failed for task ':clean'. > Unable to delete directory :\build\intermediates
- 错误信息,clean失败 Error:Execution failed for task ':clean'. > Unable to delete directory :\build\intermed
- Error:Execution failed for task ':app:clean'. > Unable to delete directory 解决方案
- Error:Execution failed for task ':zebradrive_sdk:clean'. > Unable to delete directory: D:\AndroidStu
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: D:\testDlaner\MyNDKDemo\
- 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: 最新解决方法
- 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 终极解决方案
- 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: /media/file/workspaces/a
- 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: E:\jiajian\jiajian\app\b
- Error:Execution failed for task ':clockLib:clean'. > Unable to delete directory: E:\androidProject\r
- Error:Execution failed for task ':app:clean'. > Unable to delete directory: