title: app:mergeDebugResources error in Android Studio after upgrade
body: <p>I am getting a error on build/execution of the Android Studio project.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>:app:mergeDebugResources FAILED Error:Execution failed for task
    ':app:mergeDebugResources'.</p>
    
    <blockquote>
      <p>Some file crunching failed, see logs for details</p>
    </blockquote>
  </blockquote>
  
  <p>I have gone through the post on SO and have done the following things to fix it, but I am still not able to get rid of the errors.</p>
  
  <ol>
  <li><p>Clean Project.</p></li>
  <li><p>Invalidate and Restart Android Studio.</p></li>
  <li><p>I have upgraded the Gradle Version from 1.3.0 to 1.5.0.</p></li>
  <li><p>I have also upgraded the buildToolsVersion '23.0.1'.</p></li>
  </ol>
  
  <p>Few more Gradle traces for reference:</p>
  
  <blockquote>
    <p>Information:Gradle tasks [clean, :app:generateDebugSources,
    :app:generateDebugAndroidTestSources, :app:compileDebugSources,
    :app:compileDebugAndroidTestSources] :app:clean :app:preBuild
    UP-TO-DATE :app:preDebugBuild UP-TO-DATE :app:checkDebugManifest
    :app:preReleaseBuild UP-TO-DATE
    :app:prepareComAndroidSupportAppcompatV72300Library
    :app:prepareComAndroidSupportDesign2300Library
    :app:prepareComAndroidSupportSupportV42300Library
    :app:prepareComCrashlyticsSdkAndroidAnswers131Library
    :app:prepareComCrashlyticsSdkAndroidBeta113Library
    :app:prepareComCrashlyticsSdkAndroidCrashlytics251Library
    :app:prepareComCrashlyticsSdkAndroidCrashlyticsCore234Library
    :app:prepareComGithubClansFab155Library
    :app:prepareComGithubPaolorotoloAppintro320Library
    :app:prepareComGoogleAndroidGmsPlayServicesBase780Library
    :app:prepareComGoogleAndroidGmsPlayServicesGcm780Library
    :app:prepareIoFabricSdkAndroidFabric135Library
    :app:prepareJpWasabeefBlurry101Library :app:prepareDebugDependencies
    :app:compileDebugAidl :app:compileDebugRenderscript
    :app:generateDebugBuildConfig :app:generateDebugAssets UP-TO-DATE
    :app:mergeDebugAssets :app:generateDebugResValues UP-TO-DATE
    :app:processDebugGoogleServices :app:generateDebugResources
    :app:mergeDebugResources</p>
    
    <p>AAPT: ERROR: 9-patch image
    /Users/v/app/src/main/res/drawable-xxxhdpi/btn_small_white_normal.9.png
    malformed.
    AAPT:        Found at pixel #21 along top edge. AAPT:
    /Users/v/Documents/app/src/main/res/drawable-mdpi/ic_send_black_disabled_24dp.png:
    libpng warning: iCCP: Not recognizing known sRGB profile that has been
    edited :app:mergeDebugResources FAILED</p>
    
    <p>FAILURE: Build failed with an exception.</p>
    
    <ul>
    <li><p>What went wrong: Execution failed for task ':app:mergeDebugResources'.</p>
    
    <blockquote>
      <p>Some file crunching failed, see logs for details</p>
    </blockquote></li>
    <li><p>Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.</p></li>
    </ul>
    
    <p>BUILD FAILED</p>
  </blockquote>