:应用:compileDebugJava在失败的Andr​​oid Studio IDE中Andr、compileDebugJava、oid、IDE

2023-09-06 14:34:50 作者:じòぴé追梦者

我结帐从SVN我的项目在分公司的Andr​​oid Studio和slicSVN工作区。

I have checkout my project branch from SVN at Android Studio with slicSVN workspace.

但是当我正在重建整个项目,但

but when I'm making rebuild whole project but

错误:执行失败的任务:应用程序:compileDebugJava。  无效的源版本:1.7

Error:Execution failed for task ':app:compileDebugJava'. invalid source release: 1.7"

为什么这个问题已经出现?

Why this issue had been arise ?

推荐答案

我已经做了这个问题,我使用JDK6,但项目在JDK7建成,所以我安装JDK7并设置路径和JAVA_HOME,然后再次运行,它的工作精细....

I have done this issue, I'm using JDK6, but project built at JDK7, so I installed JDK7 and set path and java_home and run again, It's working fine....