title: Android Studio: Error Code 1: Gradle: Execution failed for task ':app:processDebugResources'
body: <p>I want to compile a project, I got <code>Error:Gradle: Execution failed for task ':app:processDebugResources'.</code></p>
  
  <p>here is the exception:</p>
  
  <blockquote>
    <p>Error:Gradle: Execution failed for task ':app:processDebugResources'.
    com.android.ide.common.internal.LoggedErrorException: Failed to run command:</p>
    
    <p>D:\devtools\adt\sdk\build-tools\21.1.1\aapt.exe package -f --no-crunch -I D:\devtools\adt\sdk\platforms\android-21\android.jar -M E:\code\android\TVMediaPlayer\app\build\manifests\debug\AndroidManifest.xml -S E:\code\android\TVMediaPlayer\app\build\res\all\debug -A E:\code\android\TVMediaPlayer\app\build\assets\debug -m -J E:\code\android\TVMediaPlayer\app\build\source\r\debug -F E:\code\android\TVMediaPlayer\app\build\libs\app-debug.ap_ --debug-mode --custom-package com.skyworth.tvmediaplayer.app --output-text-symbols E:\code\android\TVMediaPlayer\app\build\symbols\debug</p>
    
    <p>Error Code:
        1</p>
    
    <p>Output:
        E:\code\android\TVMediaPlayer\app\build\res\all\debug\drawable-hdpi-v4\ic_launcher.png: error: Duplicate file.
        E:\code\android\TVMediaPlayer\app\build\res\all\debug\drawable-hdpi\ic_launcher.png: Original is here. The version qualifier may be implied.</p>
  </blockquote>
  
  <p>here is the gradle file:</p>
  
  <pre><code>    android {
          compileSdkVersion 21
          buildToolsVersion "21.0.2"
  
          defaultConfig {
              applicationId "com.jerrellmardis.amphitheatre"
              minSdkVersion 21
              targetSdkVersion 21
              versionCode 1
              versionName "1.0"
              renderscriptTargetApi 19
  
              buildConfigField "String", "TMDB_API_KEY", "\"${loadSecret("TMDB_API_KEY")}\""
          }
  ......
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:recyclerview-v7:21.0.0'
      compile 'com.android.support:leanback-v17:21.0.0'
      compile 'com.android.support:appcompat-v7:21.0.0'
      compile 'com.android.support:palette-v7:21.0.0'
      compile 'com.squareup.picasso:picasso:2.3.4'
      compile 'com.squareup.retrofit:retrofit:1.7.1'
      compile 'com.google.code.gson:gson:2.3'
      compile 'org.apache.commons:commons-lang3:3.3.2'
      compile 'org.apache.commons:commons-collections4:4.0'
      compile 'com.jakewharton:butterknife:6.0.0'
      compile 'com.github.satyan:sugar:1.3'
  }
  </code></pre>
  
  <p>I am puzzled about the error message, am I put the wrong png file or my gradle config file is wrong?</p>