Xamarin.Android Proguard - Unsupported class version number 52.0 : <p>I'm trying to use Proguard in my Xamarin.Android project, yet the compilation fails with the error <code>Unsupported class version number [52.0] (maximum 51.0, Java 1.7)</code></p>

<p>I saw from those <a href="https://stackoverflow.com/questions/23170502/proguard-says-unsupported-class-version-number-52-0-maximum-51-0-java-1-7-w">two</a> <a href="https://stackoverflow.com/questions/22670059/error-proguard-unsupported-class-version-number">questions</a> that it may be a mismatch between Java 7 and Java 8, more precisely some versions of proguard don't support Java 8. However in Xamarin Preferences -> SDK Location, Java SDK points to JDK 7 : <code>/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home</code></p>

<p>Is there any place where proguard can be configured more precisely ? Any other idea ?</p>

<p>Here's the failure log :</p>

<blockquote>
  <p>java.io.IOException: Can't read
  [/Library/Frameworks/Xamarin.Android.framework/Versions/7.0.0-18/lib/xbuild-frameworks/MonoAndroid/v7.0/mono.android.jar]
  (Can't process class [android/app/ActivityTracker.class] (Unsupported
  class version number [52.0] (maximum 51.0, Java 1.7)))    at
  proguard.InputReader.readInput(InputReader.java:230)  at
  proguard.InputReader.readInput(InputReader.java:200)  at
  proguard.InputReader.readInput(InputReader.java:178)  at
  proguard.InputReader.execute(InputReader.java:78)     at
  proguard.ProGuard.readInput(ProGuard.java:196)    at
  proguard.ProGuard.execute(ProGuard.java:78)   at
  proguard.ProGuard.main(ProGuard.java:492) Caused by:
  java.io.IOException: Can't process class
  [android/app/ActivityTracker.class] (Unsupported class version number
  [52.0] (maximum 51.0, Java 1.7))  at
  proguard.io.ClassReader.read(ClassReader.java:112)    at
  proguard.io.FilteredDataEntryReader.read(FilteredDataEntryReader.java:87)
    at proguard.io.JarReader.read(JarReader.java:65)    at
  proguard.io.DirectoryPump.readFiles(DirectoryPump.java:65)    at
  proguard.io.DirectoryPump.pumpDataEntries(DirectoryPump.java:53)  at
  proguard.InputReader.readInput(InputReader.java:226)  ... 6 more
  Caused by: java.lang.UnsupportedOperationException: Unsupported class
  version number [52.0] (maximum 51.0, Java 1.7)    at
  proguard.classfile.util.ClassUtil.checkVersionNumbers(ClassUtil.java:140)
    at
  proguard.classfile.io.ProgramClassReader.visitProgramClass(ProgramClassReader.java:88)
    at proguard.classfile.ProgramClass.accept(ProgramClass.java:346)    at
  proguard.io.ClassReader.read(ClassReader.java:91)     ... 11 more</p>
  
  <p>9 Warning(s)    1 Error(s)</p>
</blockquote>
