建议:将<tools:replace =“ android:appComponentFactory”添加到<application>

时间:2019-07-10 19:01:19

标签: react-native

我刚刚链接了react-native-push-notification,但出现此错误。请帮忙吗?

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

0 个答案:

没有答案