Android same attribute name in two libs, name collision -
i'm using 2 3rd party libs, both use same attribute name in attrs.xml. build fails with:
attribute "tabbackground" has been defined
is there way work around collision without modifying argument name in 1 of libs?
actually no.
i suppose have dependency project b.
when build main project in eclipse, resources fail build , error printed out in android console: "... error: attribute "icon" has been defined"
.
actually have 2 ways :
- remove dependency project b
- or change attribute name of project
also if build project gradle can use this article explains how merge resources.
Comments
Post a Comment