我已经在android studio项目中的Firebase
中实现了,并且工作正常,但是当我根据其中的这些说明添加AdMob
代码时,出现此错误。
InstructionsERROR: 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
。
最佳答案
在您的项目gradle中,使用此版本的firebase-core。这应该可以解决问题!
implementation 'com.google.firebase:firebase-core:16.0.8'
关于android - 在项目中添加AdMob广告时出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56111868/