doublesymmetry / react-native-track-player

A fully fledged audio module created for music apps. Provides audio playback, external media controls, background mode and more!
https://rntp.dev/
Apache License 2.0
3.18k stars 980 forks source link

Duplicate value for resource 'attr/show_buffering' with config 'DEFAULT' and product '' #2319

Open XeoSmartHome opened 1 month ago

XeoSmartHome commented 1 month ago

Hello,

I am tring to integrate this package in my app, and I get the following error when building for Android:

.../android/app/build/intermediates/incremental/developDebug/mergeDevelopDebugResources/merged.dir/values/values.xml:13022: Duplicate value for resource 'attr/show_buffering' with config 'DEFAULT' and product ''. Resource was previously defined here: com.multiscreen.app-mergeDevelopDebugResources-78:/values/values.xml:567: .

For video content I am using another video player based on exoplayer and I think the problem is that they are in conflict. Is there a method to ignore the duplicate values?

"react-native": "npm:react-native-tvos@0.72.4-0"
"react-native-track-player": "4.1.1"
lovegaoshi commented 1 month ago

u need to patch out whatever the conflict is from one of the libraries.