【问题标题】:How to fix manifest merger failed with multiple errors? [duplicate]如何修复清单合并失败并出现多个错误? [复制]
【发布时间】:2019-08-03 08:26:40
【问题描述】:

我想在我的 android 应用中使用 google admob,所以我添加了这个库

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

但是当我运行该项目时,会发生此错误清单合并失败并出现多个错误。

【问题讨论】:

  • 发布你的 build.gradle 文件

标签: android android-gradle-plugin google-play-services android-support-library androidx


【解决方案1】:

您必须将您的项目迁移到 AndroidX:https://stackoverflow.com/a/53242928/336658 或者你可以尝试使用旧版本的 play-service-ads

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

【讨论】:

    猜你喜欢
    • 2019-11-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-09-25
    • 1970-01-01
    • 1970-01-01
    • 2020-01-10
    • 1970-01-01
    相关资源
    最近更新 更多