chyiiiiiiiiiiii / flutter_zendesk_messaging

Zendesk-Messaging for Flutter developer
Apache License 2.0
31 stars 46 forks source link

Error when merging filePath on Android #55

Open markdynamiq opened 4 months ago

markdynamiq commented 4 months ago

Hi, I use your zendesk_messaging version 2.6.0+1, and catch this error on Android build release:

/Users/builder/clone/android/app/src/main/AndroidManifest.xml:59:17-50 Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/filepaths) from AndroidManifest.xml:59:17-50 is also present at [zendesk.messaging:messaging-android:2.6.0] AndroidManifest.xml:55:17-51 value=(@xml/files_path). Suggestion: add 'tools:replace="android:resource"' to element at AndroidManifest.xml:57:13-59:53 to override.

I try add tools:replace="android:resource" but that will cause crash app when install.

How do I fix this?