React native 建议:增加';工具:替换=";android:appComponentFactory“';至<;应用>;

React native 建议:增加';工具:替换=";android:appComponentFactory“';至<;应用>;,react-native,React Native,我刚刚链接了react本机推送通知,我收到了这个错误。请帮点忙好吗 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 pre

我刚刚链接了react本机推送通知,我收到了这个错误。请帮点忙好吗

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
清单合并失败:属性application@appComponentFactory值=(android.support.v4.app.CoreComponentFactory)来自[com.android.support:support compat:28.0.0]AndroidManifest.xml:22:18-91
在[androidx.core:core:1.0.0]AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory)中也存在。
建议:在AndroidManifest.xml:7:5-117处的元素中添加“tools:replace=“android:appComponentFactory””以覆盖

您尝试添加了吗?您可以运行react native info并发布日志吗