3
當我執行$ gradle :android:clean
或$ gradle :android:assembleDebug
我得到的Linux - 搖籃無法刪除臨時文件和構建失敗
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':android:mergeDebugResources'.
> Error: Could not delete path '/media/naxa/<NTFS Partition>/<Project Path>/android/build/intermediates/incremental/mergeDebugResources/merged.dir/values-sk'.
我想提一提,該項目是在NTFS分區上。
我找到了解決方法,我使用--continue
選項來忽略構建失敗。但我想知道爲什麼文件不能被刪除。它被任何東西阻塞了嗎?
可能出現[錯誤:任務':app:clean'執行失敗。無法刪除文件](http://stackoverflow.com/questions/32914499/error-execution-failed-for-task-appclean-unable-to-delete-file) – naXa