Skip to content
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

[BUG]: Duplicate value for resource 'attr/show_buffering' with config 'DEFAULT' and product ''. #4326

Open
danny-kang-dev opened this issue Dec 9, 2024 · 5 comments

Comments

@danny-kang-dev
Copy link

Version

6.8.2

What platforms are you having the problem on?

Android

System Version

14

On what device are you experiencing the issue?

Real device

Architecture

New architecture with interop layer

What happened?

build fails with duplicate resource error

Reproduction Link

RN 0.76.4 new architecture

Reproduction

Step to reproduce this bug are: build android app

Copy link

github-actions bot commented Dec 9, 2024

Thank you for your bug report. We will review it and get back to you if we need more information.

@freeboub
Copy link
Collaborator

freeboub commented Dec 9, 2024

any reproduction repository ?

@danny-kang-dev
Copy link
Author

danny-kang-dev commented Dec 9, 2024

@freeboub unfortunately, I can't share repository because it belongs to company..

<attr format="enum" name="show_buffering"> <enum name="never" value="0"/> <enum name="when_playing" value="1"/> <enum name="always" value="2"/> </attr>

<declare-styleable name="PlayerView"><attr format="enum" name="show_buffering"> <enum name="never" value="0"/> <enum name="when_playing" value="1"/> <enum name="always" value="2"/> </attr></declare-styleable>

show_buffering is duplicated in "aandroid/app/build/intermediates/incremental/debug/mergeDebugResources/merged.dir/values/values.xml"

@danny-kang-dev
Copy link
Author

danny-kang-dev commented Dec 9, 2024

@freeboub this bug happened after following the RN upgrade helper to upgrade rn from 0.74 to 0.76

@freeboub
https://react-native-community.github.io/upgrade-helper/?from=0.74.2&to=0.76.4

@freeboub
Copy link
Collaborator

freeboub commented Dec 9, 2024

The expo sample in the repo is already on 0.76 and we don't have the issue ...
I think this is a conflict with another package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants