title: Dalvik VM gives error while using org.apache.commons.collections.CollectionUtils
body: <p>I am trying to use org.apache.commons.collections.CollectionUtils in android with following code</p>
  
  <pre><code>import java.util.ArrayList;
  
  import org.apache.commons.collections.CollectionUtils;
  
  import android.app.Activity;
  import android.os.Bundle;
  import android.widget.TextView;
  
  public class CheckCommonsActivity extends Activity {
  /** Called when the activity is first created. */
  @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      String email1 = "xyz@gmail.com";
      String email2 = "abc@gmail.com";
      String email3 = "mnp@gmail.com";
      String email4 = null;       
  
      ArrayList&lt;String&gt; emailList1 = new ArrayList&lt;String&gt;();
      emailList1.add(email4);
      emailList1.add(email1);
      emailList1.add(email2);
      emailList1.add(email3);
  
      ArrayList&lt;String&gt; emailList2 = new ArrayList&lt;String&gt;();
      emailList2.add(email3);
      emailList2.add(email2);
      emailList2.add(email1);
  
      boolean isEqual = CollectionUtils.isEqualCollection(emailList1,
             emailList2);
      TextView text = (TextView) findViewById(R.id.text);
      text.setText(String.valueOf(isEqual));
      }
   }
  </code></pre>
  
  <p>I am getting following error message in Console 
  <strong>Conversion to Dalvik format failed with error 1</strong>. Complete Message trail is uploaded <a href="http://www.mediafire.com/view/?mumsijp7kbauidm" rel="nofollow">here</a>.</p>