davideas / FlipView

Flipping views like Gmail & beyond
491 stars 78 forks source link

Duplicate "attr" name issues when using multiple Android libraries #12

Closed ashnehete closed 7 years ago

ashnehete commented 8 years ago

Particularly the "animationDuration" attribute which already defined elsewhere. Here's what I found in my research: https://code.google.com/p/android/issues/detail?id=22576 Suggested solution from the above link is to use app prefix.

flipview-error-1 flipview-error-2
davideas commented 8 years ago

Hi @ashnehete, with which third library it goes in conflict?

ashnehete commented 8 years ago

https://github.com/HeinrichReimer/material-intro - This is the library I'm using. https://github.com/Commit451/InkPageIndicator - I think this is the library which the above library uses which causes the conflict.

Additionally I also tried changing the build tools version from 23.0.3 to 24.0.1 and that worked.

davideas commented 8 years ago

Yes I confirm that Build tools v24.0.1 resolves the attributes conflict. No need to add prefix anymore (to any library).

ashnehete commented 8 years ago

Yes that works too, sorry for the inconvenience. I had forked the library and added the prefixes. If anyone for any reason needs that. https://github.com/ashnehete/FlipView