I've tried looking at similar ones and no solution has worked. I've previously run apps without a problem but my new app suddenly started giving me problems. It always fails when I try to run it saying:
Error:Execution failed for task ':app:preDexDebug'.
com.android.ide.common.process.ProcessEx...
If you have any libraries in your libs folder --> Right Click > Add as library
Then delete this line > compile fileTree(include: ['*.jar'], dir: 'libs')
OR
It must have been a problem with the Java install. Remove all traces of Java and reinstall. Answer here Android java.exe finished with non...