|
我把Compatibility jar 加到我的project里(一个做碎片等的)但是现在每次我生成程序的时候eclipse就丢出错误(下面贴出),我是通过把jar复制到livs文件夹然后在项目属性对话框里使用add jar的,哪里错了吗? [2011-03-27 00:12:02 - TimetableHC] Dx
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/ActivityCompatHoneycomb;
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.dex.file.DexFile.add(DexFile.java:143)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.command.dexer.Main.processClass(Main.java:372)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.command.dexer.Main.processFileBytes(Main.java:346)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.command.dexer.Main.access$400(Main.java:59)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:294)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.cf.direct.ClassPathOpener.processArcHive(ClassPathOpener.java:244)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.command.dexer.Main.processOne(Main.java:313)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.command.dexer.Main.processAllFiles(Main.java:233)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.dx.command.dexer.Main.run(Main.java:185)
[2011-03-27 00:12:02 - TimetableHC] Dx at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2011-03-27 00:12:02 - TimetableHC] Dx at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2011-03-27 00:12:02 - TimetableHC] Dx at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2011-03-27 00:12:02 - TimetableHC] Dx at java.lang.reflect.Method.invoke(Unknown Source)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:179)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:585)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:490)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:629)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:172)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:203)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:255)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:258)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:362)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.resources.Project$1.run(Project.java:545)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:524)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.resources.Project.build(Project.java:115)
[2011-03-27 00:12:02 - TimetableHC] Dx at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:145)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
[2011-03-27 00:12:02 - TimetableHC] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[2011-03-27 00:12:02 - TimetableHC] Dx 1 error; aborting
[2011-03-27 00:12:02 - TimetableHC] Conversion to Dalvik format failed with error 1
[/code]
我来回答 |
|