Unsupported Major.minor Version 52.0 In Visual Studio + Xamarin
I've recently installed Visual Studio with Xamarin. When I want to run even not modified app, I'm getting error java.lang.UnsupportedClassVersionError: com/android/dx/command/Mai
Solution 1:
You'll have to install the Java JDK 1.8. I would suggest removing 1.7 unless you need to use previous versions. The release notes for Xamarin.Android 7.0 have more information as well: https://developer.xamarin.com/releases/android/xamarin.android_7/xamarin.android_7.0/
Note: Xamarin.Android 7.0 requires JDK 1.8 to use the Android Nougat (API 24) APIs. You can continue to use earlier versions of the JDK if targeting earlier Android API levels:
JDK 1.8 - up to API 24+ JDK 1.7 - up to API 23 JDK 1.6 - up to API 20 Additionally, a 64-bit version of the JDK is required to use custom controls in the Android designer.
Solution 2:
Download and install JDK 1.8.. and change the path.. it will be work...
Post a Comment for "Unsupported Major.minor Version 52.0 In Visual Studio + Xamarin"