Error Occurs while Running Android Project - Unsupported major.minor version

后端 未结 5 806
失恋的感觉
失恋的感觉 2020-12-13 11:08

While running the code it shows a alert

Errors occurred during the build Errors running builder \'Android Package Builder\' on project \'Tes

5条回答
  •  青春惊慌失措
    2020-12-13 11:31

    your code might has been compiled with Java Higher version(i.e. 8), while you are trying to run it with Java Lower version(i.e. 7). Note that Eclipse has it's own compiler and does not use the one from the JDK and most probably it is configured to use Java Higher version(i.e. 8). Check you eclipse compiler preferences.

提交回复
热议问题