“程序类型已存在:com.google.android.gms.common.api.internal.zzb”如何为adMob解决此问题?

时间:2019-03-03 06:13:41

标签: android admob

我正在使用Android Studio 3.3(最新版本)。库的重复在这里应该是什么问题?这些是Google AdMob网站上显示的最新步骤。

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'androidx.appcompat:appcompat:1.0.0-beta01'
    implementation 'androidx.core:core-ktx:1.1.0-alpha04'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.0-alpha4'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0-alpha4'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'com.mikhaellopez:circularimageview:3.2.0'
    implementation 'com.github.aakira:expandable-layout:1.6.0@aar'
    implementation 'androidx.cardview:cardview:1.0.0'
    implementation 'androidx.gridlayout:gridlayout:1.0.0'

    implementation 'com.github.stfalcon:stfalcon-imageviewer:0.1.0'

    implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha2'

    //UI
    implementation 'com.squareup.picasso:picasso:2.71828'
    implementation 'com.google.android.material:material:1.0.0'

    implementation 'xyz.belvi.mobilevision:barcodescanner:2.0.3'

    //adMob
    implementation 'com.google.android.gms:play-services-ads:17.1.1'

1 个答案:

答案 0 :(得分:1)

通过将com.google.android.gms:play-services-ads的版本降级为其他Google Play服务使用的版本来解决。.