title: HERE Maps binding with Xamarin
body: <p>I'm trying to build an app using the <a href="https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/overview.html" rel="nofollow noreferrer">HERE Mobile SDK</a> (SDK for Android Premium).</p>
  
  <p>I would like to bind it with Xamarin. But unfortunately there is no guide for this binding, although there was a component in the <a href="https://components.xamarin.com/" rel="nofollow noreferrer">Xamarin store</a> (which is no longer available, deprecated). There is only a <a href="https://developer.here.com/mobile-sdks/documentation/android-hybrid-plus/topics/app-simple-android-studio.html" rel="nofollow noreferrer">guide</a> for Android-Studio.</p>
  
  <p>I tried to stay as close as possible according to the Android-Studio guide.</p>
  
  <hr>
  
  <h2>What I have done so far:</h2>
  
  <ol>
  <li>Create new bindings library
  <a href="https://i.stack.imgur.com/Bgqzw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Bgqzw.png" alt="Create new bindings library"></a></li>
  <li>Add the .JAR-file (in my case only the HERE-sdk.jar (I don't need the gson.jar or the javadoc.jar for testing purpose)) and set the build action to "EmbeddedJar" </li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/OhiNS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OhiNS.png" alt="Jar-binding"></a></p>
  
  <ol start="3">
  <li><p>Afterwards I built the project and I got one error, which I solved after researching a bit
  <a href="https://i.stack.imgur.com/2uYK5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2uYK5.png" alt="Error"></a>
  <a href="https://i.stack.imgur.com/D0rpP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D0rpP.png" alt="Solution to previous error."></a></p></li>
  <li><p>After I solved the previous error, I got 60 new error...
  <a href="https://i.stack.imgur.com/7kB7D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7kB7D.png" alt="enter image description here"></a></p></li>
  </ol>
  
  <p><strong>I tried to solve them with removing the nodes in the metadata.xml-file, but I think this is not the right solution for this problem...</strong></p>
  
  <p>How do I solve this?
  I tried to changed the return-types, managedNames and so on (according to this <a href="https://developer.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding-a-java-library/java-bindings-metadata/#Metadata.xml_Transform_File" rel="nofollow noreferrer">tutorial</a>), but none of this worked.</p>
  
  <p>Also there is someone on the <a href="https://forums.xamarin.com/discussion/43630/xamarin-binding-for-here-maps-problem" rel="nofollow noreferrer">Xamarin-forums</a>, who had the same problem as me, but he couldn't solve it either.</p>
  
  <p><em>I am not that experienced with the metadata.xml - files. Maybe I misunderstood something.</em></p>
  
  <p>I would really appreciate some help!</p>
  
  <p>Thank you in advance.</p>