MediaPicker icon indicating copy to clipboard operation
MediaPicker copied to clipboard

Manifest merger failed

Open DkKhan786 opened this issue 4 years ago • 2 comments

Manifest merger failed : Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/image_picker_provider_paths) from [com.github.dhaval2404:imagepicker:1.6] AndroidManifest.xml:31:17-68
	is also present at [net.alhazmy13.MediaPicker:libary:2.4.4] AndroidManifest.xml:29:17-55 value=(@xml/provider_paths).
	Suggestion: add 'tools:replace="android:resource"' to <meta-data> element at AndroidManifest.xml to override.

What should i do...?

DkKhan786 avatar Sep 11 '20 10:09 DkKhan786

If you have written FILE_PROVIDER_PATH in manifest then please update your code as per below

<meta-data android:name="android.support.FILE_PROVIDER_PATHS" tools:replace="android:resource" android:resource="@xml/file_paths_public" />

kavathiyamahesh avatar Sep 27 '20 13:09 kavathiyamahesh

Error: Attribute provider#androidx.core.content.FileProvider@authorities value=(app.mandobee.project.fileprovider) from AndroidManifest.xml:27:13-64 is also present at AndroidManifest.xml:24:13-60 value=(app.mandobee.project.provider). Suggestion: add 'tools:replace="android:authorities"' to element at AndroidManifest.xml:25:9-33:20 to override. MandoBee.app main manifest (this file), line 26 Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/imagepicker_file_paths) from AndroidManifest.xml:32:17-63 is also present at AndroidManifest.xml:29:17-55 value=(@xml/provider_paths). Suggestion: add 'tools:replace="android:resource"' to element at AndroidManifest.xml to override. MandoBee.app main manifest (this file), line 31

MohamedMedhat2018 avatar May 17 '21 10:05 MohamedMedhat2018