当我尝试构建我的项目时遇到问题,这里是我的结构: ActionBarSherlock (Project lib) -->(linked) A Project (Lib) -->(linked) to Project Test
当我尝试在 Eclipse 上运行项目测试时,一切都很好,但是当我更改为 Android Studio 时,我遇到了这个问题:
Android Dex: [sample] UNEXPECTED TOP-LEVEL EXCEPTION:
Android Dex: [sample] java.lang.IllegalArgumentException: already added: Lcom/myClassPath/MyClassName;
Android Dex: [sample] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
Android Dex: [sample] at com.android.dx.dex.file.DexFile.add(DexFile.java:163)
Android Dex: [sample] at com.android.dx.command.dexer.Main.processClass(Main.java:490)
有人可以帮助我,请谢谢