Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
Task :app:compileDebugJavaWithJavac FAILED
23 actionable tasks: 11 executed, 12 up-to-date
FAILURE: Build failed with an exception.
执行
./gradlew compileDebugJavaWithJavac --stacktrace
如果仍然提示这个错误就再次执行
./gradlew compileDebugJavaWithJavac --stacktrace