please help me!
here is error says:
Error:Execution failed for task \':app:mergeDebu
After struggling a lot I have final solve this issue:
I realize two issue while solving this issue
Hope it will work for you.
Check your resources, specially the file names. It sucks when android studio does not point out the real reason. It solved my issue.
After searching and using lots of suggestions i got a solution for this:
1)I am using nine patch images in my project and android studio doesn't accept abc.9.png image so rename this name to abc.png
2)When i am convert my images to nine patch images one image can't convert properly it shows "Bad Patches" i remove this image and recreate and i solved my problem, this problem is comes when i convert my project eclipse to android studio
3) put this in your gradle aaptOptions.setProperty("cruncherEnabled", false)
Thanks
I got this error when I added an image I had saved in gimp as 'filename.9.png' (which I thought was enough to produce a 9-patch image) to the drawable folder. To solve the issue I just opened the image in the Draw 9-patch tool and moved one of the bounds around - it didn't seem to matter whether I moved it back to the same spot, just the act of moving the bounds seems to correct the issue.
maybe the image issue which u put into the mipmap ,delete the image and retry the gradle sync 汉语 就是你放到mipmap中的图片有问题 把他删了就好了 哎 真为我的英语捉急啊~~
I faced the same issue. I was using *.png files and the gradle Build kept on failing, despite multiple Rebuild-projects. Surprisingly, the moment I changed the file names from *.png to *.jpg, it worked!