I've added a Java Library dependency module to the app module of my project. When I try to run the app I get this error:
...while parsing hai/shoplist/ItemBag.class 1 error; aborting Error:Execution failed for task ':app:preDexDebug'.com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException: Process 'command 'C:\ProgramFiles\Java\jdk1.8.0_05\bin\java.exe'' finished with non-zero exit value 1
I've tested the classes that I have in the module and I can even build it but the problem arises when I try to run the app.