Ok guys, I've been trying for about an hour to resolve this error that I'm getting and no dice.
This is the error:
Caused by: java.lang.NoClassDefFoundError: org.openqa.selenium.htmlunit.HtmlUnitDriver at com.painlessshopping.mohamed.findit.MarksSearch$fetcher.doInBackground(MarksSearch.java:167) at com.painlessshopping.mohamed.findit.MarksSearch$fetcher.doInBackground(MarksSearch.java:126) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818)
It is a NoClassDefFoundError meaning (at least to my knowledge) that one of the dependencies is messed up. However, upon going into project structure the file dependency is there, aswell as the
compile files('libs/selenium-htmlunit-driver-2.9.0.jar')
line in the app build.gradle file. So what's up?
the specific selenium library that im using in conjunction with this is: selendroid-standalone-0.17.0-with-dependencies.jar
If that has any relevance whatsoever.
Edit: Here is what my Project Structure Dependency Tab Looks Like:

Any help is appreciated, frustration level is high :'(
Project-structureselect your app under themoduletab and to the right under thedependenciestab will list the jars that are being compiled with your program.