正在做一个项目,但突然停止了;开始给出错误:
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:7:5-117 to override.
我知道谷歌在28岁之后已经完成了支持库类的工作,我知道如何将整个项目从支持库类迁移到AndroidX类.
我的问题是:
有没有可能继续使用Support Library类而不是转向AndroidX类?
如何解决这个问题?