title: java.util.zip.ZipException: duplicate entry
body: <p>I have been battling this error all day in Android Studio. Project was imported from an eclipse solution. I have been trying to implement all fixes that are listed for similar posts, nothing is working. I am an Android beginner.</p>
  
  <p>I will be happy to provide any further information.</p>
  
  <p>Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.</p>
  
  <blockquote>
    <p>java.util.zip.ZipException: duplicate entry: com/google/zxing/BarcodeFormat.class</p>
  </blockquote>
  
  <p>Please help!! Should I just try to get it to run in Eclipse?</p>
  
  <pre><code>// Top-level build file where you can add configuration options common to all sub-projects/modules.
  buildscript {
      repositories {
          jcenter()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:1.1.2'
      }
  }
  
  allprojects {
      repositories {
          jcenter()
      }
  }
  
  apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
  
      defaultConfig {
          applicationId "com.appname.android"
          minSdkVersion 8
          targetSdkVersion 18
          multiDexEnabled true
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  dependencies {
      compile 'com.android.support:support-v4:22.1.1'
      compile files('libs/ksoap2-android-assembly-3.1.0-jar-with-dependencies.jar')
      provided files('libs/zxing-core.jar')
  }
  </code></pre>