編譯的時候出現這個。
Error:Execution failed for task ':app:compileDebugJava'.
> Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.
是因爲JDK的位置設置錯了,一般默認。
解決方法:
到這一步就已經ok了.