清单合并因android studio失败

时间:2019-04-30 17:17:50

标签: java android-manifest

这是我在android studio中遇到的错误

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
    is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
    Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:10:5-34:19 to override.

1 个答案:

答案 0 :(得分:0)

好像您有冲突的androidxsupport依赖项,请仔细检查它们以删除所有冗余。