Error: duplicate value for resource 'attr/progress' with config ''

Description
I am getting this error: error: duplicate value for resource ‘attr/progress’ with config ‘’. when trying to integrate zoom in my Android app.
Error is in values.xml file in mobilertc module that is added as dependency module in my existing android app.
Showing error in the following code:

  • <declare-styleable name="MessageSimpleCircularProgressView">
    
  •         <attr format="dimension" name="progWidth"/>
    
  •         <attr format="color" name="backColor"/>
    
  •         <attr format="color" name="progColor"/>
    
  •         <attr format="integer" name="progress"/>
    
  •  </declare-styleable>
    

Which Mobile Client SDK version?
v5.5.1.1317

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Screenshots

Smartphone (please complete the following information):

  • Device: [Nokia 6.2]
  • OS: [Android 10]

Additional context
minSdkVersion 21
targetSdkVersion 29
Android Studio: 4.1.3
Gradle: 6.5

Hi @aparajita, thanks for the post.

Can you please try deleting both of the SDK’s AARs from your project and re-adding them? Also, to rule out any issues within your environment, are you able to successfully build the sample app included with the SDK?

Thanks!

re-adding SDK’s AARs resulting same error and i was able to successfully build the sample app included with the SDK.

gradle version: 6.5
grale pluging version: 4.1.2

Hi @aparajita,

Thanks for checking. In the other thread I asked for a sample app to allow us to reproduce this issue. If possible, please send a project with both this and the issue being discussed in that thread present.

Thanks!