Rumah > Soal Jawab > teks badan
Error:Execution failed for task ':app:compileDailyDebugJavaWithJavac'. > When running gradle with java 5, 6 or 7, you must set the path to jdk8, either with property retrolambda.jdk or environment variable JAVA8_HOME
怪我咯2017-04-17 17:24:48
升级你的jdk到jdk8.*!
伊谢尔伦2017-04-17 17:24:48
jdk版本太低,与gradle的版本不匹配,升级到1.8就ok了。
升级java版本
java
升级JDK到JDK8
添加环境变量JAVA8_HOME