【发布时间】:2018-05-19 19:10:28
【问题描述】:
我知道有很多这样的问题,但是没有找到任何有Admob广告依赖的问题,我只是想在我的应用程序中使用Admob广告,我添加了来自官方网站implementation 'com.google.android.gms:play-services-ads:15.0.0'的ads-dependency。
但是向我显示了这个警告:
All gms/firebase libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 15.0.1, 15.0.0. Examples include com.google.android.gms:play-services-ads-identifier:15.0.1 and com.google.android.gms:play-services-ads:15.0.0 less... (Ctrl+F1)
There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion.)
我只想在没有 firebase 的情况下使用广告依赖。
【问题讨论】:
标签: android firebase android-gradle-plugin admob build.gradle