android - 清单合并失败
问题描述
添加依赖项
/*for clevertap*/
implementation 'com.clevertap.android:clevertap-android-sdk:3.6.4'
implementation 'com.android.installreferrer:installreferrer:1.0'
然后在设备中运行项目时得到
Manifest merger failed : Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from [androidx.core:core:1.1.0] AndroidManifest.xml:24:18-86
is also present at [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 value=(android.support.v4.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:9:5-46:19 to override.
解决方案
只需在您的项目清单应用程序标签中添加以下代码。
<application
tools:node="replace">
推荐阅读
- java - 无法通过 java/selenium 的文本文件获取多个用户名和密码
- cassandra - 在哪个列上创建布隆过滤器 - cassandra
- python - Python Selenium 点击打开 Chrome 打印对话框挂起
- xcode - 如何让 Xcode Archive 使用正确的配置信息?
- python - 基于 OpenCV 和 Python 中的颜色识别在 Arduino 中打开和关闭 LED
- laravel - 将 FormData 从 vue 传递到 laravel 控制器时出错
- cython - 确定翻译后的 cython pyx 源文件的路径
- python - 如何防止在 read_csv 上指定解码更改日期时间精度
- c++ - 由 C++ 库实现的 Solaris 的 stdlib.h 函数?
- r - 如何使用 Surv 和 coxph 在 R 中进行随时间变化的干预措施的生存分析?