Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 996
Mounir OS Avatar asked May 02 '16 16:05

Mounir OS


2 Answers

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

like image 163
Lean van Heerden Avatar answered Nov 06 '22 03:11

Lean van Heerden


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

like image 37
Krishh Avatar answered Nov 06 '22 03:11

Krishh