Error:Execution failed for task ‘:app:clean’. > Unable to delete directory: E:\Work\Testjni\app\buil

解决方法一:

      进入File> Settings> Build,Execution,Deployment> Instant Run >取消选择(Enable Instant Run to hot swap code)

解决方法二:

  打开下面的Terminal 输入gradlew clean

 


解决方法三:

  关掉 Android studio ,去相应的目录下删除文件