-
Notifications
You must be signed in to change notification settings - Fork 302
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
Manifest merger failed with multiple error #108
Comments
@nakharin <provider
android:name=".presentation.util.WorkaroundProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider> well... it worked |
this also worked for me. Read more how it works here Update 1 <provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com...fileprovider"
android:exported="false"
android:grantUriPermissions="true"
>
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"
/>
</provider> New provider: <provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com...fileprovider"
android:exported="false"
android:grantUriPermissions="true"
tools:replace="android:authorities"
>
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/file_paths"
tools:replace="android:resource"
/>
</provider> These suggestions were given by Android Studio Manifest Merger Tool. Cheers! |
I think this is already solved by ExtendedFileProvider class |
Good day, I am having the same issue, I have tried this solution, but then the EasyImage library breaks when i apply this solution? Any other way that we can fix this issue? EDIT: This seemed to fix the issue. If anyone else is having a problem. |
I am having the same issue, I fixed it
and
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Hello, I need you help this problem.
Merging Errors: Error: Attribute provider#android.support.v4.content.FileProvider@authorities value=(com.emcsthai.ieasy.demo.easyphotopicker.fileprovider) from AndroidManifest.xml:14:13-80 is also present at AndroidManifest.xml:292:13-73 value=(com.emcsthai.ieasy.demo.universalfileprovider). Suggestion: add 'tools:replace="android:authorities"' to element at AndroidManifest.xml:12:9-20:20 to override. app main manifest (this file), line 13 Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/filepaths) from AndroidManifest.xml:19:17-50 is also present at AndroidManifest.xml:297:17-70 value=(@xml/universal_file_provider_paths). Suggestion: add 'tools:replace="android:resource"' to element at AndroidManifest.xml to override. app main manifest (this file), line 18
The text was updated successfully, but these errors were encountered: