eclipse运行时报errors occurred during the build. errors running builder "android package builder" on pro

时间:2023-01-20 12:36:20

eclipse运行时报errors occurred during the build. errors running builder "android package builder" on project xxx. com/android/dx/command/dexer/Main: Unsupported major.minor version 52.0.





解决方法:安装jdk1.8,重新配置,JAVA_HOME值换成jdk1.8版本的安装目录,window-preference-java-compiler中Compiler complience level改成1.8。java-installed jres add jdk1.8对应的jre。project-properties-java compiler 中enable project specific settings选中,
Compiler complience level为1.6。关闭eclipse再打开,切记。。。。。。。。。。