Error Occurs While Running Android Project - Unsupported Major.minor Version
Solution 1:
I have got the same exact issue, but not the same solution solved it :
To fix this, i have to go in my project.properties
file :
And in this file add this line :
sdk.buildtools=23.0.3
Solution 2:
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.
Solution 3:
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
Solution 4:
The only one reason for Unsupported major.minor version 52.0 in eclipse is API Level 24
So please do following things to resolve Issue in Eclipse :
- GO To Window menu 2.Open Android SDK manager 3.Check is API level 24 is installed any Platform 4.If YES Please Uninstall this API level 24 Packages. 5.Clean Project and Run Again.
And its Work fine.
Solution 5:
Adding the below line in project.properties and setting Java to 1.7 solved the issue to me.
sdk.buildtools=23.0.3
Post a Comment for "Error Occurs While Running Android Project - Unsupported Major.minor Version"