运行Android项目时发生错误 - 不支持的major.minor版本 [英] Error Occurs while Running Android Project - Unsupported major.minor version
问题描述
运行代码时,会显示警报
While running the code it shows a alert
在构建期间发生错误
错误运行构建器Android Package''
在项目'Test'.com / android / dx / command / dexer / Main:
不支持major.minor版本52.0
Eclipse正常运行,但在更新eclipse之后显示错误。它运行良好,即更新前
帮助我解决这个问题并运行我的项目。
Eclipse was running properly but after the updation of eclipse it shows the error.previously it was running well,i.e before updation help me solve this issue and run my project.
还帮助我一些可更新的adt包。 p>
also help me with some update-able adt bundle.
推荐答案
解决问题,以前我用jAVA 1.7编译并运行在jdk 1.8中,这是我问题的原因,现在我下载了JAVA 1.8现在它正在运行
Solved the issue , Previously I compiled with jAVA 1.7 and run in jdk 1.8 that was the reason of my issue now i download JAVA 1.8 now it is running
- J2SE 8 = 52,
- J2SE 7 = 51,
- J2SE 6.0 = 50,
- J2SE 5.0 = 49,
- JDK 1.4 = 48,
- JDK 1.3 = 47,
- JDK 1.2 = 46
- JDK 1.1 = 45
- J2SE 8=52,
- J2SE 7=51,
- J2SE 6.0=50,
- J2SE 5.0=49,
- JDK 1.4=48,
- JDK 1.3=47,
- JDK 1.2=46
- JDK 1.1=45
这篇关于运行Android项目时发生错误 - 不支持的major.minor版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!