Skip to content
Advertisement

Error:Execution failed for task ‘:app:mergeDebugResources’. > Some file crunching failed, see logs for details build gradle issues

currently I am using Android Studio 2.1 when I run my App it shows me some error in Message Gradle Build saying the following

JavaScript

I tried cleaning and rebuilding it but it didn’t work. The answer for this question didn’t work also. Any help would be appreciated, thanks.

Updated: Here is the log output

JavaScript

Advertisement

Answer

All problem was a crashed png image in one of my drawable folders. I mean the images which we sometime face in windows photo viewer, like the one below: enter image description here

I dropped the image from the folder and all problem got solved.

Advertisement