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

后端 未结 30 1198
感动是毒
感动是毒 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条回答
  •  萌比男神i
    2020-11-29 18:18

    If you are testing with a local backend (java servlet on local google app engine) the running process blocks some files. So you are not able to live deploy. So in this case you can solve this by stopping the local backend before starting clean or build. You find the option under "Run -> Stop backend".

提交回复
热议问题