Android P 应用 升级到Android Q 编译出错
Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from AndroidManifest.xml:28:18-86
is also present at AndroidManifest.xml:24:18-91 value=(android.support.v4.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml.fixed:42:5-278:19 to override
添加属性:
application 标签添加
tools:replace="android:appComponentFactory"
android:appComponentFactory="xxxxx"
manifest 标签添加
xmlns:tools="
schemas.android.com"
查了下是Androidx 引起,醒目并没有引入此包,需求各位帮助
Attribute application@appComponentFactory value=(androidx.core.app.CoreComponentFactory) from AndroidManifest.xml:28:18-86
is also present at AndroidManifest.xml:24:18-91 value=(android.support.v4.app.CoreComponentFactory).
Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml.fixed:42:5-278:19 to override
添加属性:
application 标签添加
tools:replace="android:appComponentFactory"
android:appComponentFactory="xxxxx"
manifest 标签添加
xmlns:tools="
查了下是Androidx 引起,醒目并没有引入此包,需求各位帮助
展开
1
1