0

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

Some file crunching failed, see logs for details.

when I run my project android studio give error

Rutul Mehta
  • 55
  • 1
  • 6
  • Possible duplicate of [Android Studio - mergeDebugResources exception](http://stackoverflow.com/questions/17121033/android-studio-mergedebugresources-exception) – Harshad Pansuriya Jun 28 '16 at 04:37

2 Answers2

0

On Windows I had a "BUILD FAILED Failed to crunch file [path]" error and solved it by closing the Android Studio project, copying the entire project folder into a location with a shorter directory path, such as my C: folder and then opening the project in the new location. Hope it helps

Akshay GS
  • 93
  • 6
0

Please add entry in build.gradle for cruncher

android { 
    ....
    aaptOptions {
        cruncherEnabled = false
    }
    ....
}
Anders R. Bystrup
  • 15,729
  • 10
  • 59
  • 55
Akshay GS
  • 93
  • 6