导入github上的项目,有时候,就会报如下的错误Error:Execution failed for task ‘:app:compileDebugJava’.> Cannot find SystemJavaCompiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according directory.解决方案:1、直接修改版本号如下
修改后如下图:
2、然后出现下面的提示,直接点击就可以
作者:shenshizhong
链接:https://www.jianshu.com/p/b3de5849ecca
来源:简书
简书著作权归作者所有,任何形式的转载都请联系作者获得授权并注明出处。