6

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

DumbCoder
  • 5,696
  • 3
  • 29
  • 40
Mounir OS
  • 61
  • 1
  • 1
  • 3

3 Answers3

26

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

Lean van Heerden
  • 882
  • 9
  • 20
1

Please find my solution for above question in eclipse IDE. Have updated my JDK 1.7-->1.8 by downloading JDK explicitly.

Try this and update me your problem resolved or not.

regards Krishna

Krishh
  • 101
  • 6
0

Integrating previous post, into Eclipse - Android SDK Manager, I've to click on "Android SDK Build-Tools" versione 24 installed, and click on Delete Package.

enter image description here

Alessandro Mattiuzzi
  • 2,309
  • 2
  • 18
  • 24