Fileprovider conflict resolution
Because the Maven service of Weibo sharing SDK is abnormal, the Maven automatic integration fails, so the AAR file of Weibo 10.10.0 is downloaded for local integration. Error report after adding project android:resource= “@xml/file_ XXX “reuse does not work
2. Add tools:replace= “ android:resource ”Go to the following figure
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.fileProvider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_xxx"
tools:replace="android:resource" />
</provider>
solve