在项目中添加AdMob广告时出现错误

时间:2019-05-13 11:59:05

标签: android android-studio gradle

我已经在自己的android studio项目的Firebase中实现了它,并且工作正常,但是当我根据其中的说明添加AdMob代码时,我得到了这个错误。

Instructions

ERROR: The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[16.3.0,16.3.0], [16.0.0,16.0.0]], but resolves to 16.3.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies

Screenshot

1 个答案:

答案 0 :(得分:-1)

在您的项目gradle中,使用此版本的firebase-core。这应该可以解决问题!

implementation 'com.google.firebase:firebase-core:16.0.8'
相关问题