I\'m trying to rebuild my Android Studio Gradle project (containing mostly Kotlin code), but it started to throw an UnableToDeleteFileException during the clean
UnableToDeleteFileException
I had this problem in Android Studio 2.3.
I simply restarted Android Studio and after that I could clean without complaints.