Error with the version of jdk xamarin android?

2

I get an error when using Xamarin:

  

xamarin java.lang.UnsupportedClassVersionError: com / android / dx / command / Main: Unsupported major.minor version 52.0

    
asked by Agustin Chafuelan 29.10.2016 в 00:42
source

2 answers

1

Version 52.0 refers to the specific version of the JDK

1.- Xamarin Android for the version you are using requires JDK-8 in its version 1.8.

2 .- Another solution that worked for me, is to lower the level of compilation to your application, right click on your Android solution and go to properties, there you will see the compilation versions and lower them to 6.0 marshmallow, since by default I think you are compiling with Nougat, once you do that, right click on your solution, clean and then build, and with that you should compile without problems of version.

    
answered by 20.02.2017 в 14:44
0

You have to update your JDK to 1.7.0+,

The requirement is JDK 7 (1.7) 32-bit.

link

    
answered by 29.10.2016 в 00:48