xmlbeans-2.6.0.jarおよびxmlbeans-2.3.0.jarからdexファイルをビルドしようとしています。次のエラーが発生します。
[2013-02-14 14:57:08 - SOSTestProject] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.xmlbeans.impl.store.Locale$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2013-02-14 14:57:08 - SOSTestProject] Dx
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/apache/xmlbeans/xml/stream/Location;
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.dex.file.DexFile.add(DexFile.java:163)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.command.dexer.Main.processClass(Main.java:490)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.command.dexer.Main.processFileBytes(Main.java:459)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.command.dexer.Main.access$400(Main.java:67)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:398)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.command.dexer.Main.processOne(Main.java:422)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.command.dexer.Main.processAllFiles(Main.java:333)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.dx.command.dexer.Main.run(Main.java:209)
[2013-02-14 14:57:08 - SOSTestProject] Dx at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2013-02-14 14:57:08 - SOSTestProject] Dx at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2013-02-14 14:57:08 - SOSTestProject] Dx at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2013-02-14 14:57:08 - SOSTestProject] Dx at java.lang.reflect.Method.invoke(Unknown Source)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.ide.eclipse.adt.internal.build.DexWrapper.run(DexWrapper.java:187)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:745)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.ide.eclipse.adt.internal.build.builders.PostCompilerBuilder.build(PostCompilerBuilder.java:598)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.resources.Project.build(Project.java:124)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.ide.eclipse.adt.internal.project.ProjectHelper.doFullIncrementalDebugBuild(ProjectHelper.java:1046)
[2013-02-14 14:57:08 - SOSTestProject] Dx at com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch(LaunchConfigDelegate.java:147)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:855)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:704)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1047)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1251)
[2013-02-14 14:57:08 - SOSTestProject] Dx at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
[2013-02-14 14:57:08 - SOSTestProject] Dx 1 error; aborting
[2013-02-14 14:57:08 - SOSTestProject] Conversion to Dalvik format failed with error 1
DVMは匿名の内部クラスを.dex形式に変換できないと思います。誰かがこれに関して助けてくれるなら、それは本当に役に立ちます。