question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

duplicate value for resource 'attr/mode' when used with Androidx support

See original GitHub issue

Your library is not compatible with Androidx (https://developer.android.com/topic/libraries/support-library/androidx-overview) and results in a build error error: duplicate value for resource 'attr/mode' with config ''.

Can you please use a more specific attribute name in your library. Thanks.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

6reactions
RowlandOticommented, Oct 30, 2018

Please rename this attribute to something else to avoid conflict with AndroidX. It is a one-line fix, and wondering why it will take a month for merging the PR sent. @chthai64 and release new minor version with fix.

0reactions
swaixcommented, Dec 10, 2018

same here 😦

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplicate value for resource 'attr/font' with config
SOLUTION : (Short Answer) I just remove format="String" from one of xml attribute file (like attr_2.xml ) and my problem fixed. attr_2.xml :...
Read more >
error: duplicate value for resource 'attr/orientation' with config ...
error: duplicate value for resource 'attr/mode' with config '' when using implementation 'com.android.support.constraint:constraint-layout:2.0.0-alpha2' in ...
Read more >
Error: duplicate value for resource 'attr/progress' with config ''
I am getting this error: error: duplicate value for resource 'attr/progress' with config ''. when trying to integrate zoom in my Android app ......
Read more >
Android : Duplicate value for resource 'attr/font' with config
Android : Duplicate value for resource ' attr /font' with config " [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] ...
Read more >
App resources overview - Android Developers
Only one value for each qualifier type is supported. For example, if you want to use the same drawable files for Spain and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found