美文网首页
Manifest merger failed : Attribu

Manifest merger failed : Attribu

作者: 大道至简_知易行难 | 来源:发表于2021-03-03 20:03 被阅读0次

报错如下,原因是引入的第三方库已经迁移到androidx,但是项目未迁移到Androidx,所以部分库引入会冲突

'''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:8:5-17:19 to override.'''

相关文章

网友评论

      本文标题:Manifest merger failed : Attribu

      本文链接:https://www.haomeiwen.com/subject/jdjcqltx.html