title: Xamarin Binding Jar gives error: does not implement inherited abstract member AsyncTask.DoInBackground(params Object[])
body: <p>I want to use a .jar file that I have with my Xamarin.Android project. </p>
  
  <p>After I create the binding project and try to build, I get this error:</p>
  
  <p><code>obj\Debug\generated\src\Com.Acrcloud.Rec.Sdk.Utils.ACRCloudGetIPAddressAsyncTask.cs(23,23): Error CS0534: 'ACRCloudGetIPAddressAsyncTask' does not implement inherited abstract member 'AsyncTask.DoInBackground(params Object[])' (CS0534)</code></p>
  
  <p>Using a decompiler, I checked the contents of <code>ACRCloudGetIPAddressAsyncTask</code> and found this:</p>
  
  <pre><code>package com.acrcloud.rec.sdk.utils;
  
  import android.os.AsyncTask;
  import java.net.InetAddress;
  import java.net.UnknownHostException;
  
  public class ACRCloudGetIPAddressAsyncTask
  extends AsyncTask&lt;String, Integer, String&gt;
  {
      private static final String TAG = "ACRCloudAsynGetIPAddressTask";
  
      protected String doInBackground(String... params)
      {
          String ip = "";
          try
          {
              InetAddress x = InetAddress.getByName(params[0]);
  
              ip = x.getHostAddress();
          }
          catch (UnknownHostException e)
          {
              e.printStackTrace();
              ip = "";
          }
          catch (Exception e2)
          {
              ip = "";
          }
         return ip;
    }
  
    protected void onPostExecute(String ip)
    {
       super.onPreExecute();
       ACRCloudLogger.d("ACRCloudAsynGetIPAddressTask", "&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;  " + ip);
       com.acrcloud.rec.sdk.recognizer.ACRCloudRecognizerRemoteImpl.serverIP = ip;
    }
  }
  </code></pre>
  
  <p>Why do I even need to implement <code>DoInBackground(params Object[])</code>? The generated C# code implemented <code>protected virtual unsafe string DoInBackground (params  string[] @params)</code> to match what's in the Java code...I don't know a lot about Java so I'm probably missing something...any idea how I can fix this?</p>