importing HtmlUnit to Android project
<p>I downloaded the htmlunit-2.xx-OSGi.jar from htmlunit sourceforge page. Moved that jar into my /lib folder and when I import these I get error.</p>

<pre><code>import com.gargoylesoftware.htmlunit.WebClient; 
import com.gargoylesoftware.htmlunit.html.HtmlPage;
</code></pre>

<p>ERROR:</p>

<pre><code>Execution failed for task ':app:transformClassesWithDexForDebug'.
&gt; com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.7.0_45\bin\java.exe'' finished with non-zero exit value 1
</code></pre>

<p>What am I doing wrong or how can I use this library?</p>