Android,是否可以在旧版本的Google Admobs依赖版本中使用?

时间:2020-05-16 17:55:35

标签: android admob banner

当我尝试在我的项目上创建Google Admob标语时,出现以下错误。我想问一下,有没有将minSDKVersion从14更改为17的解决方案?也许在build.gradle文件上使用旧版的google ads依赖项实现?如果是,这样做有什么缺点吗?

谢谢..

Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [com.google.android.gms:play-services-ads:19.1.0] C:\Users\SAMSUNG\.gradle\caches\transforms-2\files-2.1\3f183cf0518755adc969c4fb4eee168a\jetified-play-services-ads-19.1.0\AndroidManifest.xml as the library might be using APIs not available in 14
    Suggestion: use a compatible library with a minSdk of at most 14,
        or increase this project's minSdk version to at least 16,
        or use tools:overrideLibrary="com.google.android.gms.ads.impl" to force usage (may lead to runtime failures)

0 个答案:

没有答案
相关问题