Android Studio java.util.zip.ZipException: duplicate entry
<p>here is my build.gradle</p>

<pre><code>apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
    applicationId "com.arefin.lasttrykinvay"
    minSdkVersion 15
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
    multiDexEnabled true
}
buildTypes {
    release {
        minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}
repositories {
    flatDir {
       dirs 'libs'
    }
}


dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile(name:'kinvey-android-2.10.5', ext:'aar')
    compile 'com.android.support:appcompat-v7:23.1.1'
    compile google-http-client-1.19.0.jar 
    compile google-http-client-android-1.19.0.jar
    compile google-http-client-gson-1.19.0.jar 
    compile google-http-client-jackson2-1.19.0.jar 
    compile gson-2.1.jar guava-18.0.jar 
    compile jackson-core-2.1.3.jar 
    compile java-api-core-2.10.1.jar 
    compile java-api-core-2.10.5.jar 
    compile kinvey-android-2.10.5.aar
    testCompile 'junit:junit:4.12'
}
</code></pre>

<p>And here is the error </p>

<pre><code>Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'.
&gt; com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/kinvey/java/AbstractClient$Builder$Option.class
</code></pre>

<p>When I remove the </p>

<pre><code>compile 'com.android.support:appcompat-v7:23.1.1'
</code></pre>

<p>That above error fixes but other functions dont work properly . Like values/style cant not find </p>

<pre><code>Theme.AppCompat.Light.DarkActionBar
</code></pre>

<p>How can I that duplicate entry error ?</p>