gpt4 book ai didi

android - 程序类型已经存在:com.google.firebase.analytics.FirebaseAnalytics $ Event

转载 作者:行者123 更新时间:2023-12-03 05:35:22 24 4
gpt4 key购买 nike

编译项目时,出现以下错误消息:

Program type already present: com.google.firebase.analytics.FirebaseAnalytics$Event



gradle(应用程序)
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
//noinspection GradleCompatible
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:recyclerview-v7:26.1.0'
implementation 'com.google.firebase:firebase-core:16.0.9'
implementation 'com.google.firebase:firebase-messaging:18.0.0'
implementation 'com.google.firebase:firebase-auth:17.0.0'
implementation 'com.google.android.gms:play-services:12.0.1'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.google.code.gson:gson:2.8.1'
implementation 'com.android.volley:volley:1.1.0'
implementation 'com.squareup.picasso:picasso:2.5.2'
implementation 'de.hdodenhof:circleimageview:1.3.0'
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation 'com.whiteelephant:monthandyearpicker:1.3.0'
implementation 'com.daimajia.slider:library:1.1.5@aar'
implementation 'com.nineoldandroids:library:2.4.0'
implementation 'com.tarun0.zxing-standalone:zxing-standalone:1.0.0'
implementation 'com.edwardvanraak:MaterialBarcodeScanner:0.0.6-ALPHA'
implementation "ru.tinkoff.scrollingpagerindicator:scrollingpagerindicator:1.0.6"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1@aar') {
transitive = true;
}
}
apply plugin: 'com.google.gms.google-services'

最佳答案

避免使用此行添加所有 bundle 的Google Play服务SDK。而是只使用您真正需要的。

implementation 'com.google.android.gms:play-services:12.0.1'

引用 this URL以获取所有可用的播放服务SDK

关于android - 程序类型已经存在:com.google.firebase.analytics.FirebaseAnalytics $ Event,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56661834/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com