Android build works in Eclipse but not with Ant (“already added”)

后端 未结 4 1834
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-05 12:47

My Android project uses several git submodules marked as Android Libraries. These submodules all have different uses of the ORMlite Android jars and thus have the ORMlite ja

4条回答
  •  花落未央
    2021-01-05 13:04

    My problem was that all jars in any ./libs folder were included, not just the ones as specified in my eclipse .classpath. So I had some duplicates laying around there. I just needed to clean up my ./libs. You can find out what ant is all including in its "classpath" by running "ant -v debug", somewhere in the top half of the output.

提交回复
热议问题