android重复条目zip例外

时间:2016-05-10 15:31:38

标签: exception duplicates google-calendar-api

我正在开发一个我需要同步谷歌日历的应用程序。我关注了google api文档,但收到错误重复条目:com.google/common/annotations/GwtIncompatible.class。我尝试搜索答案,似乎我的app文件中有错误。以下是我的app文件。任何帮助将不胜感激。

 apply plugin: 'com.android.application'
 android {
 signingConfigs {
    debug {
        keyAlias 'androiddebugkey'
        keyPassword 'android'
        storeFile file('debug.jks')
        storePassword 'android'
    }
    release {
        keyAlias 'Appointment'
        keyPassword 'vnv3BqMrDvKMbyGx'
        storeFile file('release.jks')
        storePassword 'ZwedHDALbZmprkbt'
    }
}
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
    applicationId "nl.dtt.appointment"
    minSdkVersion 18
    targetSdkVersion 23
    versionCode 1
    multiDexEnabled true
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        signingConfig signingConfigs.release
        debuggable true
    }
    debug {
        signingConfig signingConfigs.debug
    }
}

productFlavors {
}

}

  dependencies {
   compile fileTree(include: ['*.jar'], dir: 'libs')
   testCompile 'junit:junit:4.12'
   compile 'de.hdodenhof:circleimageview:2.0.0'
   compile 'com.android.support:support-v4:23.3.0'
   compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:preference-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.android.support:cardview-v7:23.3.0'
compile 'com.android.support:recyclerview-v7:23.3.0'

compile 'com.marshalchen.ultimaterecyclerview:library:0.3.18'
compile 'se.emilsjolander:stickylistheaders:2.1.5'
compile 'de.hdodenhof:circleimageview:2.0.0'
compile 'com.google.code.gson:gson:2.5'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'fr.avianey.com.viewpagerindicator:library:2.4.1@aar'
compile 'net.danlew:android.joda:2.9.1'
compile 'com.github.alamkanak:android-week-view:1.2.6'
compile 'com.prolificinteractive:material-calendarview:1.2.0'
compile 'com.mcxiaoke.volley:library:1.0.18'
compile 'org.apache.httpcomponents:httpcore:4.4.1'
compile 'com.squareup.okhttp:okhttp:2.5.0'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.5.0'
compile 'com.github.tibolte:agendacalendarview:1.0.3'

compile 'com.google.android.gms:play-services-location:8.4.0'
 compile 'com.google.android.gms:play-services-maps:8.4.0'
 /*
compile 'com.google.android.gms:play-services-identity:8.4.0'
 */
compile 'pub.devrel:easypermissions:0.1.5'

compile('com.google.api-client:google-api-client-android:1.20.0') {
    exclude group: 'org.apache.httpcomponents'
}
compile('com.google.apis:google-api-services-calendar:v3-rev125-1.20.0') {
    exclude group: 'org.apache.httpcomponents'
}

compile 'com.facebook.android:facebook-android-sdk:4.0.0'

}

0 个答案:

没有答案
相关问题