Android build fail. Execution failed for task Multiple dex files


#1

I am trying to build my android app. I get the following error:

* What went wrong:

Execution failed for task ':transformClassesWithDexForDebug'.

> com.android.build.api.transform.TransformException: com.android.ide.common.process.
ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexException: 
Multiple dex files define Landroid/support/v4/app/NavUtils$NavUtilsImpl;

Can anyone help?


Document Viewer documentation not working
#2

I found the issue to be the document viewer plugin I removed this and the support-v4.jar which this plugin depended on and is now fixed.