yaming116 / UpdateApp

app update, is mainly responsible for app download and installation, etc. 开箱即用的app更新,主要负责软件下载、软件安装等。
Apache License 2.0
348 stars 61 forks source link

请问provider节点冲突怎么处理? #36

Open SmithZhenHua opened 4 years ago

SmithZhenHua commented 4 years ago

Attribute provider#android.support.v4.content.FileProvider@authorities value=(com.eleph.inticaremr.provider) from AndroidManifest.xml:81:13-60 is also present at [com.github.yaming116:UpdateApp:1.0.7] AndroidManifest.xml:19:13-76 value=(com.eleph.inticaremr.update_app.file_provider). Suggestion: add 'tools:replace="android:authorities"' to element at AndroidManifest.xml:79:9-87:20 to override.

SmithZhenHua commented 4 years ago

已解决,自定义一个FilProvicer继承自V4包,在清单中将name替换即可