Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行报错了 #3

Closed
zhangweiwei0326 opened this issue Mar 14, 2020 · 5 comments
Closed

运行报错了 #3

zhangweiwei0326 opened this issue Mar 14, 2020 · 5 comments

Comments

@zhangweiwei0326
Copy link

/Users/weiwei/Documents/byapp/android/app/src/debug/AndroidManifest.xml:51:13-64 Error:
Attribute provider#androidx.core.content.FileProvider@authorities value=(com.huaronghz.hs.fileprovider) from AndroidManifest.xml:51:13-64
is also present at [:update_app] AndroidManifest.xml:22:13-66 value=(com.huarong.hs.updateprovider).
Suggestion: add 'tools:replace="android:authorities"' to element at AndroidManifest.xml to override.
/Users/weiwei/Documents/byapp/android/app/src/debug/AndroidManifest.xml:56:13-47 Error:
Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/file_paths) from AndroidManifest.xml:56:13-47
is also present at [:update_app] AndroidManifest.xml:27:17-52 value=(@xml/update_path).
Suggestion: add 'tools:replace="android:resource"' to element at AndroidManifest.xml to override.

FAILURE: Build failed with an exception.

@mofada
Copy link
Owner

mofada commented Mar 14, 2020

好像是两个的provider冲突了, 如果是这样的话那么我需要去掉FileProvider, 然后让你们自己配置了

@zhangweiwei0326
Copy link
Author

现在能解决么 用了编译不过去

@mofada
Copy link
Owner

mofada commented Mar 14, 2020

你现在很急吗? 这里我想是我的问题, 我稍后处理一下

mofada added a commit that referenced this issue Mar 20, 2020
@mofada
Copy link
Owner

mofada commented Mar 20, 2020

更新一下依赖试试, 今天上午更新了一下插件

@zhangweiwei0326
Copy link
Author

编译了一下是可以了,谢谢

@mofada mofada closed this as completed Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants