baoyongzhang / android-PullRefreshLayout

This component like SwipeRefreshLayout, it is more beautiful than SwipeRefreshLayout.
MIT License
2.07k stars 517 forks source link

Attribute "type" has already been defined #16

Open ciriusrob opened 9 years ago

ciriusrob commented 9 years ago

I have included the library into my project however build fails with this error Attribute "type" has already been defined. The error log references values.xml specifically <declare-styleable>. Am using android studio with gradle version 2.2.1 and gradle tools version 1.1.0. Any quick solutions is appreciated.

Lukasvo commented 9 years ago

Find where you already used the attribute "type" in your project (most likely in attrs.xml) and rename that.

A more specific name should indeed be chosen for this library, I got the same issue.