首页 > 解决方案 > android studio 找不到文件

问题描述

我的 android studio 说 gradle build 完成但没有运行任务,因为并给出错误 C:\Users\The Lepdungs\AndroidStudioProjects\MyApplication2.gradle\buildOutputCleanup\cache.properties (系统找不到指定的文件)

标签: android-studio

解决方案


尝试去Build -> Clean Project

如果这不起作用,请尝试File -> Invalidate Caches/Restart

问题是由于android studio已经做了缓存,所以当它创建新文件时,就会出现问题。上述步骤之一应该可以解决它。


推荐阅读