Androidstudio运行弹出异常信息:
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Path 'xxxx' is not a readable directory
原因:
gradle缓存问题
解决:
删除项目根目录下的“.gradle”文件
备注:
出现打包编译因为某一个文件失败的,多数因为缓存问题,可以尝试以下方法
1.clean项目
2.File->Invalidate Caches/Restart->Invalidate and Restart
3.删除build文件
4.重启电脑