title: "Duplicate lib file copied in APK-META-INF/license.txt " error in Android Studio
body: <p>I am using below 2 lib's in project 
  1. spring-core-3.1.0.RELEASE.jar
  2. spring-web-3.1.0.RELEASE.jar</p>
  
  <p>But android studio is considering duplicate entry for above lib's and giving error while packaging.</p>
  
  <hr>
  
  <pre><code>Error:duplicate files during packaging of APK E:\Code\iDoc\app\build\outputs\apk\app-debug-unaligned.apk
      Path in archive: META-INF/license.txt
      Origin 1: E:\Code\iDoc\app\libs\spring-core-3.1.0.RELEASE.jar
      Origin 2: E:\Code\iDoc\app\libs\spring-web-3.1.0.RELEASE.jar
  You can ignore those files in your build.gradle:
      android {
        packagingOptions {
          exclude 'META-INF/license.txt'
        }
      }
  ------------------------------------------------------------
  </code></pre>
  
  <p>Anybody faced similar problem ?</p>
  
  <p>Please suggest some-work around for this error.</p>