【发布时间】:2019-06-23 15:14:44
【问题描述】:
使用 React Native 项目并准备发布但遇到此错误:
Execution failed for task ':app:processDebugManifest'.
> 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.
在使用“npm i --save react-native-admob@next”通过 npm 添加“react-native-admob”模块之前工作正常
为了完成项目,我需要运行 admob!请帮忙!
【问题讨论】:
标签: android react-native npm admob