能说一下具体要修改那吗?
react-native-app-upgrade和react-native-image-crop-picker都用到了fileProvider,导致冲突报错
G:\project\sucaiapp_3\android\app\src\main\AndroidManifest.xml:60:13-70 Error: Attribute provider#android.support.v4.content.FileProvider value=(c om.dadichuangke.updateFileProvider) from AndroidManifest.xml:60:13-70 is also present at [sucaiapp:react-native-image-crop-picker:unspecified] Andr oidManifest.xml:15:13-60 value=(com.dadichuangke.provider). Suggestion: add 'tools:replace="android:authorities"' to eleme nt at AndroidManifest.xml:58:9-66:20 to override. G:\project\sucaiapp_3\android\app\src\main\AndroidManifest.xml:65:17-61 Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS value=(/up date_file_provider) from AndroidManifest.xml:65:17-61 is also present at [sucaiapp:react-native-image-crop-picker:unspecified] Andr oidManifest.xml:20:17-55 value=(/provider_paths). Suggestion: add 'tools:replace="android:resource"' to element a t AndroidManifest.xml:63:13-65:64 to override.
Building 97% > :app:processDebugManifest See http://g.co/androidstudio/manifest-merger for more information about the man ifest merger.
:app:processDebugManifest FAILED
FAILURE: Build failed with an exception.
-
What went wrong: Execution failed for task ':app:processDebugManifest'.
Manifest merger failed with multiple errors, see logs
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED 请问这该怎么解决,才不影响两个插件的正常使用?
该提问来源于开源项目:songxiaoliang/react-native-app-upgrade
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
5条回答
为你推荐
- 怎么安装react-devtools?
- Go中带有子元素的React-Router如何工作?
- 1个回答
- 是否可以在没有Swift或Objective-C的情况下使用Go创建iOS应用? [关闭]
- ios
- 3个回答
- React native,如何显示数据库中的特定数据以进行更新
- php
- 1个回答
- 使用create-react-app运行GET请求到目录
- php
- 1个回答
- 上传图片并发布数据[React Native]
- php
- 1个回答
- React Native POST数据到API无法正常工作
- php
- javascript
- 1个回答
- React本机http获取请求无效
- php
- javascript
- json
- 3个回答
- 从库中选择多图像以发送到具有react-native的服务器
- php
- 1个回答
- 什么是 JEE web-application ?
- React Native 在init project 一直卡在安装CocoaPods
- react-router 组件加载的问题
- react.js
- 2个回答
- antd-moblie ListView组件,传入的数据有20条,但只渲染出10条
- 1个回答
- react-native打包release版本闪退
- android-studio
- 1个回答
- 初学ReactNative,报错:Undefined is not a function 。。。
- 2个回答
- react-native Flatview
- 1个回答
- 求助react-native跳转页面(navigation)的问题
- 2个回答
- 在使用react-native中遇到的关于AsyncStorage的储存问题
- 2个回答
- recat-native start命令执行后特别慢
- android
- 3个回答
- 求助!安装react-native命令行工具
- 1个回答