Android - Error:Execution failed for task ':app:mergeDebugResources'

后端 未结 12 863
孤独总比滥情好
孤独总比滥情好 2020-12-13 14:31

please help me!

here is error says:

Error:Execution failed for task \':app:mergeDebu

12条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 14:40

    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

提交回复
热议问题