Add resource prefix for resources
[REQUIRED] Use case description
We are trying to add dependency on Androidx Media3 and we already have ExoPlayer2. When we are trying to build the app with both Androidx Media3 and ExoPlayer2, app is not building as there is clash is names of resources. Both Androidx Media3 and ExoPlayer2 defines resources with same name and hence the clash happens.
Proposed solution
Allow library users to add a unique prefix for all resources or add a static prefix in front of all resources. resourcePrefix can be used for this
Alternatives considered
I am not aware of any alternatives.
I tried building an app with both media3 and exoplayer2 dependencies including using a resource drawable, but couldn't see any issue. Can you share about your setup or provide a minimal example project that highlights the issue?
Hey @harshit23897. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@harshit23897 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.