Skip to content Skip to sidebar Skip to footer

Importing HtmlUnit To Android Project

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. import com.gargoylesoftware.htmlunit

Solution 1:

HtmlUnit doesn't work with android, because of JVM and DVM. You can also try using Selenium, which is very similar in working to HtmlUnit, reference for selenium.

Refer This answer


Post a Comment for "Importing HtmlUnit To Android Project"