LitePager
LitePager copied to clipboard
error: duplicate value for resource 'attr/orientation' with config ''
添加依赖以后 你的自定义属性orientation找不到 我看了一下是因为没有写成andriod:orientation 博主能解决一下么?
@wuyr
是属性名冲突了,除了LitePager还有另外一个自定义View也定义了orientation这个属性, 如果你能修改对应的attr,把它后面的format去掉就行,比如:
<attr name="orientation" format="xxxxx" />
改成:
<attr name="orientation"/>
最后clean一下project就OK了。 (只更改其中一个就行)