Error: Execution failed for task ':app:clean'. Unable to delete file

后端 未结 30 1228
感动是毒
感动是毒 2020-11-29 17:19

I\'m trying to rebuild my Android Studio Gradle project (containing mostly Kotlin code), but it started to throw an UnableToDeleteFileException during the clean

30条回答
  •  时光说笑
    2020-11-29 18:23

    If you are using Android Studio 2.0 Beta, this issue might appear (more likely if you are working on NTFS filesystem) and it seems like the "Instant Run" is the culprit. Search for "Instant Run" in settings and uncheck the box.

    I have filed an issue on the bug tracker.

提交回复
热议问题