FrescoImageViewer
FrescoImageViewer copied to clipboard
java.util.zip.ZipException: duplicate entry: bolts/AggregateException.class
Hi, i got error when sign apk: Error:Execution failed for task ':app:transformClassesWithJarMergingForProductionRelease'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: bolts/AggregateException.class
If i build and run, it works just fine. Here's my gradle dependencies:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
def supportVersion = '25.1.1'
compile "com.android.support:appcompat-v7:$supportVersion"
compile "com.android.support:recyclerview-v7:$supportVersion"
compile "com.android.support:design:$supportVersion"
compile "com.android.support:cardview-v7:$supportVersion"
compile ('com.facebook.android:facebook-android-sdk:4.1.0'){
exclude group: 'com.parse.bolts',
module: 'bolts-tasks'
exclude group: 'com.parse.bolts',
module: 'bolts-applinks';}
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.crittercism:crittercism-android-agent:5.2.0'
compile 'com.google.code.gson:gson:2.3.1'
def playServicesVersion = '10.0.1'
compile "com.google.android.gms:play-services-base:$playServicesVersion"
compile "com.google.android.gms:play-services-location:$playServicesVersion"
compile "com.google.android.gms:play-services-auth:$playServicesVersion"
compile "com.google.android.gms:play-services-places:$playServicesVersion"
compile "com.google.android.gms:play-services-maps:$playServicesVersion"
compile "com.google.firebase:firebase-core:$playServicesVersion"
compile "com.google.firebase:firebase-messaging:$playServicesVersion"
compile "com.google.firebase:firebase-crash:$playServicesVersion"
compile 'com.mikhaellopez:circularimageview:2.1.1'
compile 'com.romandanylyk:pageindicatorview:0.1.1'
compile 'commons-validator:commons-validator:1.5.1'
compile 'com.github.stfalcon:frescoimageviewer:0.5.0'
compile('com.facebook.fresco:fresco:1.3.0'){
exclude module: 'bolts-android'
}
compile 'com.android.support:multidex:1.0.0'
}
Please help. thanks