我尝试安装react-native-agora,但不幸的是,当我链接react本地应用时,该应用无法构建。
错误消息
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : Attribute application@allowBackup value=(false) from AndroidManifest.xml:11:7-34 is also present at [:react-native-agora] AndroidManifest.xml:21:9-35 value=(true).
Suggestion: add 'tools:replace="android:allowBackup"' to <application> element at AndroidManifest.xml:7:5-117 to override.
答案 0 :(得分:1)
tools:replace="android:allowBackup"
android:allowBackup="true"
将这两行添加到