Error:Execution failed for task ':ProjectName:mergeDebugResources'. > Crunching Cruncher *some file* failed, see logs

后端 未结 22 2410
Happy的楠姐
Happy的楠姐 2020-11-29 07:49

I have this error when trying to make a module of a project

apply plugin: \'com.android.library\'

android {
    compileSdkVersion 17
    buildToolsVersion \         


        
22条回答
  •  余生分开走
    2020-11-29 08:26

    It may happens because fake png files. You can use this command to check out fake pngs.

    cd  && find . -name *.png | xargs pngcheck
    

    And then,use ImageEditor(Ex, Pinta) to open fake pngs and re-save them to png.

    Good luck.

提交回复
热议问题