title: Xamarin.Android - Java Binding depends on Google Play Services
body: <p>We use several different types of Ad networks that we have to write our own Java bindings for. Since Google has made a new "advertising" id, all these libraries now have a dependency on Google Play Services.</p>
  
  <p>The problem is, I can't get these binding projects to build properly after getting their latest versions. I get an error about missing classes, unless adding <code>google-play-services.jar</code> (from my <code>extras</code> folder in my Android SDK) as a <code>Reference Jar</code> to the project.</p>
  
  <p>Once the play services jar file is added, I get a new error:</p>
  
  <pre><code>missing class error was raised while reflecting com.somepackage.SomeClass : com/google/android/gms/common/GooglePlayServicesRepairableException : Unsupported major.minor version 51.0 JARTOXML
  </code></pre>
  
  <p>This error generally means the library is using Java 7 (not supported by Xamarin) from what I've read. What can I do to fix these binding projects?</p>