我将应用程序的某些依赖项更新为最新版本,现在在构建期间出现错误
Program type already present: com.google.android.gms.internal.measurement.zzdz
Message{kind=ERROR, text=Program type already present: com.google.android.gms.internal.measurement.zzdz, sources=[Unknown source file], tool name=Optional.of(D8)}
我的依赖项是:
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.1'
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:preference-v7:27.1.1'
implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.google.android.gms:play-services-ads:17.1.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.google.firebase:firebase-database:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.6'
implementation 'com.android.billingclient:billing:1.2'
implementation 'com.android.support:multidex:1.0.3'
olderImplementation 'org.conscrypt:conscrypt-android:1.2.0'
//retrofit
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.squareup.okio:okio:1.14.0'
implementation 'com.squareup.retrofit2:converter-gson:2.1.0'
implementation 'com.google.code.gson:gson:2.8.0'
implementation 'org.greenrobot:greendao:3.2.2'
implementation 'com.github.bumptech.glide:glide:4.7.1'
implementation 'android.arch.lifecycle:extensions:1.1.1'
implementation 'com.facebook.android:facebook-login:4.38.1'