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

Error:(246, 5) error: duplicate value for resource 'attr/strokeWidth' with config ''. #5

Open
q460468765 opened this issue Apr 4, 2018 · 2 comments

Comments

@q460468765
Copy link

导入的时候提示跟系统v7的命名冲突

@tetedoie
Copy link

This error mean that you have a 2 identical styleable attributes named strokeWidth. This library have one in https://github.com/timqi/SectorProgressView/blob/master/library/src/main/res/values/attrs.xml <attr name="strokeWidth" format="dimension" /> So you might have another dependencies with the same styleable attribute name or the same styleable attribute in your own attributes. It seems Google use this attribute name as well since support Library 28.0.0.

@tetedoie
Copy link

Message{kind=ERROR, text=error: resource previously defined here., sources=[.../.gradle/caches/transforms-1/files-1.1/design-28.0.0-rc02.aar/c0e582146b640b608cb722ba7d62d9bb/res/values/values.xml:20:5-50], original message=, tool name=Optional.of(AAPT)}
Google added this attribute in design-28.0.0-....

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

No branches or pull requests

2 participants