在旧源代码上添加firebase分析,重复条目:com/google/android/gms/security/ProviderInstaller

在旧源代码上添加firebase分析,重复条目:com/google/android/gms/security/ProviderInstaller,android,firebase-analytics,Android,Firebase Analytics,在添加compile'com.google.firebase:firebase-core:15.0.0', 我收到这个错误 duplicate entry: com/google/android/gms/security/ProviderInstaller.class 我已经这么做了 compile ('com.google.firebase:firebase-core:15.0.0'( { exclude group: 'com.google.android.gms' }

在添加
compile'com.google.firebase:firebase-core:15.0.0'

我收到这个错误

 duplicate entry: com/google/android/gms/security/ProviderInstaller.class
我已经这么做了

 compile ('com.google.firebase:firebase-core:15.0.0'( {
     exclude group: 'com.google.android.gms'
 }  
但是firebase要求建立一个前提条件库

dependencies {
compile('org.apache.commons:commons-io:1.3.2') {
    exclude module: 'commons-io'
}
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
compile('org.apache.httpcomponents:httpmime:4.3') {
    exclude module: "httpclient"
}
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'com.android.support:support-v4:24.2.1'
compile 'com.google.android.gms:play-services-base:15.0.1'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.google.maps.android:android-maps-utils:0.3.4'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.7.5'
compile 'com.squareup.okhttp:okhttp:2.7.5'
compile 'com.google.guava:guava:18.0'
compile 'com.android.support:multidex:1.0.1'
compile 'de.greenrobot:eventbus:2.4.0'
compile 'org.jsoup:jsoup:1.9.2'
//Helper
compile 'com.github.jkwiecien:EasyImage:2.0.2'
compile 'biz.kasual:materialnumberpicker:1.2.1'
//UI
compile 'com.rengwuxian.materialedittext:library:2.0.3'
compile 'com.jpardogo.materialtabstrip:library:1.1.0'
compile 'com.jakewharton:butterknife:7.0.1'
compile files('libs/crittercism_v4_5_3_sdkonly.jar')
compile ('com.google.firebase:firebase-analytics:16.0.1'){
    exclude group: 'com.google.android.gms'

compile 'com.android.support:support-v4:20.0.0'
compile 'com.parse.bolts:bolts-android:1.1.2'
}
}

你能发布所有依赖项吗?@DhavalSolanki,你好,我已经用依赖项列表编辑了我的问题。谢谢