Alvaro Alvaro - 4 months ago 117
Android Question

Error:Execution failed for task ':app:buildInfo Debug Loader'

I updated few days ago to Android Studio 2.0 and everything worked fine, but today when I tried to compile the project, I received the following error in the

Logcat
:


Error:Execution failed for task ':app:buildInfoDebugLoader'.

Exception while doing past iteration backup : Source \app\build\intermediates\builds\debug\184802777347678\classes.dex and destination \app\build\intermediates\builds\debug\184802777347678\classes.dex must be different


The error tells me that the same
.dex
must be different, so I'm quite confused. How could I solve it?

Answer
  1. Clean Your project.
  2. And try to rebuild it.

If you did it then enable mutidex in app base build.gradle file.

multiDexEnabled true