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
I ran into the same problem and I did add the multiDexEnabled true in build file but all in vain. But doing the following along with adding multiDexEnabled true in defaultConfig solved my problem.
Add the MultiDexApplication in your manifest like :
...
And dont forget to add
defaultConfig {
multiDexEnabled true
}
The did the trick for me. Ref : Android Studio fails to debug with error org.gradle.process.internal.ExecException