Somehow you're ending up with two copies of the library to be compiled. This usually happens when both your app and an included library depend on a third-party library.
For example:
Support lib -> App <- Library <- Support lib
Where A <- B
means that A depends on B.
Remove the direct dependency in the app project and you will inherit the one from the library. In the example above that would be the dependency on the left.