title: How to provide different launcher icon per product flavour
body: <p>I have  a project defined by build.gradle file</p>
  
  <pre><code>buildscript {
  repositories {
      mavenCentral()
  }
  dependencies {
      classpath 'com.android.tools.build:gradle:0.5.6'
  }
  }
  apply plugin: 'android'
  
  dependencies {
  compile fileTree(dir: 'libs', include: '*.jar')
  }
  
  android {
  compileSdkVersion 17
  buildToolsVersion "17.0.0"
  
  sourceSets {
      main {
          manifest.srcFile 'AndroidManifest.xml'
          java.srcDirs = ['src']
          resources.srcDirs = ['resources']
          aidl.srcDirs = ['src']
          renderscript.srcDirs = ['src']
          res.srcDirs = ['res']
          assets.srcDirs = ['assets']
      }
  
      instrumentTest.setRoot('tests')
  }
  
  defaultConfig {
      ...
  }
  
  signingConfigs {
      debug {
          storeFile file("debug.keystore")
      }
  
      release {
          ...
      }
  }
  
  buildTypes {
      debug {
          debuggable true
          jniDebugBuild true
          signingConfig signingConfigs.debug
          packageNameSuffix ".debug"
          versionNameSuffix ".debug"
      }
      release {
          debuggable false
          jniDebugBuild false
          signingConfig signingConfigs.release
      }
  }
  
  flavorGroups "version", "market"
  
  
  productFlavors {
      amazon {
          flavorGroup "market"
          buildConfig "public static final int COMPILATION = 1;"
      }
      google {
          flavorGroup "market"
          buildConfig "public static final int COMPILATION = 0;"
      }
      lite {
          flavorGroup "version"
  
          packageName = "package.name.lite"
      }
      full {
          flavorGroup "version"
  
          packageName = "package.name.full"
      }
  }
  
  android.sourceSets.amazon {
      res {
          srcDir "amazon"
      }
      manifest {
          srcFile "amazon/AndroidManifest.xml"
      }
  }
  
  android.sourceSets.google {
      res {
          srcDir "google"
      }
  }
  
  android.sourceSets.full {
      res {
          srcDir "full"
      }
  }
  
  android.sourceSets.lite {
      res {
          srcDir "lite"
      }
  }
  }
  </code></pre>
  
  <p>It works fine but now i want to provide specific launcher icons for every product flavor. I tried to put extra Manifest file for Amazon but it didn't work. I got an error "Duplicates files copied in APK AndroidManifest.xml". What could be wrong?</p>