[英]Manifest Merger Failed in Android Studio after downloading adview
Error: Manifest merger failed: uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.google.android.gms:play-services-ads:19.2.0] C:\Users\HP.gradle\caches\transforms-2\files-2.1\e81645b3d583edffedf2649e74819131\jetified-play-services-ads-19.2.0\AndroidManifest.xml as the library might be using APIs not available in 15错误:清单合并失败:uses-sdk:minSdkVersion 15 不能小于库 [com.google.android.gms:play-services-ads:19.2.0] C:\Users\HP. \transforms-2\files-2.1\e81645b3d583edffedf2649e74819131\jetified-play-services-ads-19.2.0\AndroidManifest.xml 因为库可能使用 15 中不可用的 API
This error did not come before downloading Ad view .在下载Ad view之前不会出现此错误。
As the error message notes, this library does not work on API 15 (your minSdkVersion
).如错误消息所述,此库不适用于 API 15(您的
minSdkVersion
)。
As API 14/15 support was dropped in version 19.0.0 , you'll have to either update your minSdkVersion
to at least 16 (the officially recommended approach), or use version 18.3.0
of any Play Services dependencies if you wish to continue supporting those devices.由于 API 14/15 支持在版本 19.0.0 中被删除,您必须将您的
minSdkVersion
更新到至少 16(官方推荐的方法),或者如果您希望继续使用任何 Play Services 依赖项的版本18.3.0
支持这些设备。 See this article for more detailed advice, as well as an additional alternative involving distributing multiple versions of your app.有关更详细的建议,以及涉及分发应用程序的多个版本的其他替代方法,请参阅本文。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.