title: How to embed jars to make them usable in Xamarin cross-platform App
body: <p>I am trying to port my Android Application, developed with Google Android ADT, in Xamarin to make it cross-platform and runnable on iOS devices.</p>
  
  <p>I am ready to translate the needed code from Java to C# but I don't know the best way to manage external libraries.</p>
  
  <p>I am using 3 jars in my App:</p>
  
  <ul>
  <li>android-support-v4.jar</li>
  <li>mysql-connector-java-3.0.17-ga-bin.jar</li>
  <li>YouTubeAndroidPlayerApi.jar</li>
  </ul>
  
  <p>I tried to embed them following these instructions:
  <a href="http://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_%28.jar%29" rel="nofollow">http://docs.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_%28.jar%29</a></p>
  
  <p>but I'm getting some compilation errors. Here's one of them:</p>
  
  <pre><code>'Com.Mysql.Jdbc.Util' in '[..]\AndroidHelloWorld\JavaBindingLibrary\obj\Release\generated\src\Com.Mysql.Jdbc.Util.cs'
  is in conflict with 
  'Com.Mysql.Jdbc.Util' in '[..]\AndroidHelloWorld\JavaBindingLibrary\obj\Release\generated\src\Com.Mysql.Jdbc.Util.BaseBugReport.cs' 
  </code></pre>
  
  <p>I don't know if it's worth going on trying to fix the errors or it's better to use native libraries for iOS.</p>