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

后端 未结 30 1234
感动是毒
感动是毒 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:04

    The solution is quite easy.

    This is one of the solution which worked for me.

    It might be possible that your project's app/build/outputs/apk folder is opened.

    so just close this folder and rebuild your project. and it will be solved.

提交回复
热议问题