title: Unable to invoke Java API with ArrayList object from JNI
body: <p>I am trying to call a Java API that accepts ArraList of Strings from JNI</p>
  
  <pre><code>/*My Java Method that needs to be called from JNI*/
  
  public void postArrayListOfStringsToJavaFromJNI(ArrayList&lt;String&gt; list)
  {
  }
  
  //I am trying to create the methodId like below in JNI to call my Java API postArrayListOfStringsToJavaFromJNI
  
  jmethodID method_id = env-&gt;GetMethodID(dmrcallbacks, "postArrayListOfStringsToJavaFromJNI", "(Ljava/lang/Object;)V");
  </code></pre>
  
  <p>But I am getting an error </p>
  
  <pre><code>11-22 23:22:45.130: E/AndroidRuntime(19189): java.lang.NoSuchMethodError: no method with name='postArrayListOfStringsToJavaFromJNI' signature='(Ljava/lang/Object;)V' in class Lcom/example/JavaSample;
  </code></pre>
  
  <p>Is there any problem with the GetMethodID call that is having "(Ljava/lang/Object;)V" as first parameter for calling the Java API with parameter "ArrayList"</p>