I am building my android project when i got this error after import docx4j library in my project. What should i do to get rid of this exception.
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/lib/jvm/java-7-openjdk-amd64/bin/java'' finished with non-zero exit value 2
Add this to your file build. gradle
defaultConfig {
multiDexEnabled true
}