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

后端 未结 4 1830
爱一瞬间的悲伤
爱一瞬间的悲伤 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:11

    i got the same problem using maven because it correctly added the ormlite-core-jarfile, which contains the packages and classes as the core-jar with a few additional classes.

    I added an exclusion and now it works

                
                    com.j256.ormlite
                    ormlite-android
                    4.9
                    
                        
                            com.j256.ormlite
                            ormlite-core
                        
                    
                
    

提交回复
热议问题