OpenFlutter / flutter_share_me

Flutter Plugin for sharing contents to social media. You can use it share to Facebook , WhatsApp , Twitter And System Share UI. Support Url and Text.
https://github.com/lizhuoyuan
Apache License 2.0
160 stars 159 forks source link

Incompatible with flutter_webview_plugin, gradle build failure #14

Closed VickySalunkhe closed 5 years ago

VickySalunkhe commented 5 years ago

I am using flutter_webview_plugin in my app

and when I tried to build the app this was the error

and it had something related to flutter_share_me package .

D:\vicky\Work\WritCo\writco\android\app\src\debug\AndroidManifest.xml:17:17-50 Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/filepaths) from [:flutter_webview_plugin] AndroidManifest.xml:17:17-50 is also present at [:flutter_share_me] AndroidManifest.xml:21:17-51 value=(@xml/file_paths). Suggestion: add 'tools:replace="android:resource"' to element at AndroidManifest.xml to override.

FAILURE: Build failed with an exception.

I was not able to figure it out so can anyone suggest anything ?

VickySalunkhe commented 5 years ago

closing as I found an similar issue being raised earlier