gradle - java.util.zip.ZipException: duplicate entry: android/support/v7/appcompat/R$anim.class -


i downloaded new preview android studio 2.2 , built project, when hit gradle error:

execution failed task ':app:transformclasseswithjarmergingfordebug'.

com.android.build.api.transform.transformexception: java.util.zip.zipexception: duplicate entry: android/support/v7/appcompat/r$anim.class

this ./gradlew app:dependencies report: http://pastebin.com/hu5kyfsn

this build.gradle file:

apply plugin: 'com.android.application' apply plugin: 'com.neenbedankt.android-apt' apply plugin: 'io.fabric' apply plugin: 'com.fernandocejas.frodo' apply plugin: 'com.frogermcs.androiddevmetrics' apply plugin: 'com.getkeepsafe.dexcount'  apply plugin: 'me.tatarka.retrolambda'  android {     signingconfigs {         config {             //removed         }     }     compilesdkversion 23     buildtoolsversion "23.0.3"     defaultconfig {         applicationid "com.usehomeroom.vasuki"         minsdkversion 17         targetsdkversion 23         versioncode 1         versionname "1.0"          multidexenabled true     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }         debug {             applicationidsuffix ".debug"         }     }     packagingoptions {         exclude 'meta-inf/license'         exclude 'meta-inf/license-firebase.txt'         exclude 'meta-inf/notice'         exclude 'meta-inf/services/javax.annotation.processing.processor'     }     lintoptions {         disable 'invalidpackage'     }      compileoptions {         targetcompatibility javaversion.version_1_8         sourcecompatibility javaversion.version_1_8     }     dexoptions {         javamaxheapsize "8g"     } }  dependencies {      //support     compile "com.android.support:appcompat-v7:23.4.0"     compile "com.android.support:design:23.4.0"     compile "com.android.support:cardview-v7:23.4.0"      //ui     compile 'com.jakewharton:butterknife:8.0.1'     apt 'com.jakewharton:butterknife-compiler:8.0.1'     compile 'com.jakewharton.rxbinding:rxbinding-appcompat-v7:0.4.0'     compile 'com.hannesdorfmann.adaptercommands:adaptercommands:1.0.3'     compile 'com.hannesdorfmann:adapterdelegates2:2.0.0'      //data     compile "com.google.firebase:firebase-database:9.0.0" //    compile "com.google.firebase:firebase-core:$firebase_version"     compile 'com.fasterxml.jackson.core:jackson-annotations:2.7.4'     compile 'com.fasterxml.jackson.core:jackson-databind:2.7.4'      //search     compile 'com.algolia:algoliasearch-android:3.2@aar'      //observables     compile 'io.reactivex:rxandroid:1.2.0'     compile 'io.reactivex:rxjava:1.1.5'     compile 'com.jakewharton.rxrelay:rxrelay:1.1.0'      //di     apt 'com.google.dagger:dagger-compiler:2.2'     compile 'com.google.dagger:dagger:2.2'     provided 'javax.annotation:jsr250-api:1.0'      //testing     testcompile 'junit:junit:4.12'     testcompile 'org.mockito:mockito-core:1.10.19'      //monitor     compile 'com.jakewharton.timber:timber:4.1.2' //    compile "com.google.firebase:firebase-crash:$firebase_version"     compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {         transitive = true;     }     compile 'net.ypresto.timbertreeutils:timbertreeutils:1.0.0'      //util     compile 'com.jakewharton.threetenabp:threetenabp:1.0.3'     compile 'com.fernandocejas:arrow:1.0.0'     apt 'com.google.auto.value:auto-value:1.2'     provided 'com.jakewharton.auto.value:auto-value-annotations:1.2-update1'     apt 'frankiesardo:auto-parcel:1.0.1'     compile 'frankiesardo:icepick:3.2.0'     provided 'frankiesardo:icepick-processor:3.2.0'      //auth     compile "com.google.firebase:firebase-auth:9.0.0"     compile "com.google.android.gms:play-services-auth:9.0.0"     compile "com.google.android.gms:play-services-location:9.0.0"     compile "com.tbruyelle.rxpermissions:rxpermissions:0.7.0@aar"     compile 'pl.charmas.android:android-reactive-location:0.9@aar' }  apply plugin: 'com.google.gms.google-services' 

i've tried cleaning project multiple times, terminal, , manually deleting build folders. switched android studio 2.1 i'm still getting same error.

issue bad dependency. https://github.com/algolia/algoliasearch-client-android/issues/88.


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -