【发布时间】:2021-04-19 18:09:07
【问题描述】:
上面的代码是我的provider_paths.xml
然后我将它添加到我的清单中
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.packagename.package.provider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
然后当我尝试运行应用程序时,它给了我错误 清单合并失败并出现多个错误,请参阅日志
谁能帮我解决这个问题?我目前正在使用 android X。
【问题讨论】:
-
你可以听从建议。
标签: android gradle android-gradle-plugin android-manifest androidx