如何解决“错误:程序类型已存在:com.google.firebase.FirebaseException”?

时间:2019-02-11 20:22:03

标签: android google-api

实施“ com.google.android.gms:play-services-maps:16.1.0”和“ com.google.android.gms:play-services-location:16.0.0”后,出现以下错误我尝试运行该应用。

我从另一个线程读取到有重复的库。问题是我不知道如何找到重复的库。

这是我的依赖项:

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    //noinspection GradleCompatible
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    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'

    //AUTOML
    implementation 'com.google.cloud:google-cloud-automl:0.55.1-beta'
    implementation 'io.grpc:grpc-okhttp:1.16.1'
    implementation 'com.android.support:multidex:1.0.3'

    //FIREBASE
    implementation 'com.android.support:recyclerview-v7:28.0.0'
    implementation 'com.google.firebase:firebase-admin:6.7.0'


    annotationProcessor 'com.google.auto.value:auto-value:1.4'

    //MAPS
    implementation 'com.google.android.gms:play-services-maps:16.1.0'
    implementation 'com.google.android.gms:play-services-location:16.0.0'

    //After I implemented this two dependencies. That error occured.
}

0 个答案:

没有答案