Q:

com/android/dx/command/dexer/Main : Unsupported major.minor version 52.0

how to fix com/android/dx/command/dexer/Main : Unsupported major.minor version 52.0
pic of error when i click on Run as android application 

A:

If you have Android SDK Build-Tools 24 installed, then either uninstall Android SDK Build-Tools 24, or add the following entry to your project.properties file:
sdk.buildtools=23.0.3
Change the buildtools version value to the last pre-24 version of the Android SDK-Tools that you have installed.
It would appear Android SDK Build-Tools 24 require Java version 8

