title: Duplicate zip entry error android studio
body: <p>I am  trying to build the apk but it is giving unknown error i tried many solutions but didnt hepled.
      Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.</p>
  
  <blockquote>
    <p>java.io.IOException: Can't write [\app\build\intermediates\transforms\proguard\release\jars\3\1f\main.jar] (Can't read [\app\build\intermediates\exploded-aar\com.android.support\support-v4\22.0.0\jars\libs\internal_impl-22.0.0.jar(;;;;;;**.class)] (Duplicate zip entry [android/support/v4/view/ap.class == internal_impl-22.0.0.jar:android/support/v4/view/WindowInsetsCompat.class]))</p>
  </blockquote>
  
  <pre><code>apply plugin: 'com.android.application'
  android {
  compileSdkVersion 22
  buildToolsVersion '22.0.1'
  
  defaultConfig {
      applicationId "my_directory"
      minSdkVersion 14
      targetSdkVersion 20
      versionCode 2
      versionName "1.0.1"
      multiDexEnabled true
  }
  buildTypes {
      release {
          minifyEnabled true
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  dependencies {
  compile fileTree(include: ['*.jar'], dir: 'libs')
  compile 'com.android.support:appcompat-v7:22.0.0'
  compile 'com.android.support:recyclerview-v7:+'
  compile 'net.sourceforge.jtds:jtds:1.3.0'
  compile 'com.android.support:cardview-v7:22.0.0'
  compile 'com.google.android.gms:play-services:7.0.0'
  compile files('libs/gcm.jar')
  </code></pre>
  
  <p>}</p>