Error:Execution failed for task ':factory:compileReleaseJavaWithJavac'.
Compilation failed; see the compiler error output for details.
试试把所有窗口都关掉,编辑器不用关,再试试,因为我经常使用ftp链接服务器把项目更新到服务器时忘了把ftp窗口关闭调,导致文件操作被占用,从而导致构建打包失败!
看我博客:
http://blog.csdn.net/qq_36255612/article/details/75003688