最新谷歌播放服务广告库冲突问题17.1.2



当我更新Gradle谷歌播放服务广告依赖性到最新版本17.1.2

**implementation 'com.google.android.gms:play-services-ads:17.1.2**'

发现冲突的问题说:所有gms/firebase库必须使用相同的版本。示例包括implementation'com.google.android.gms:play services-ads:117.1.2implementation'com.google.android.gms:play measurement base:16.0.5.

注意:我甚至没有在应用程序中的任何地方使用firebase,我从版本15.0.1更新了广告依赖项。

使用

implementation 'com.google.android.gms:play-services-ads:16.0.1'
implementation 'com.google.android.gms:play-services-measurement-base:16.0.1'

希望能有所帮助。

您必须选择首先用相同版本更新所有google依赖项,或者第二个是用旧版本保持依赖项。

最新更新