【发布时间】:2010-10-24 18:38:46
【问题描述】:
当我包含 jaxp.jar 时,我收到以下错误-
trouble processing "javax/xml/XMLConstants.class":
[2009-05-08 16:53:18 - TestProject]
Attempt to include a core VM class in something other than a core library.
It is likely that you have attempted to include the core library from a desktop
virtual machine into an application, which will most assuredly not work. If
you really intend to build a core library -- which is only appropriate as
part of creating a full virtual machine binary, as opposed to compiling an
application -- then use the "--core-library" option to suppress this error
message. If you go ahead and use "--core-library" but are in fact building
an application, then please be aware that your build will still fail at some
point; you will simply be denied the pleasure of reading this helpful error
message.
[2009-05-08 16:53:18 - TestProject] 1 error; aborting
[2009-05-08 16:53:18 - TestProject] Conversion to Dalvik format failed with error 1
有人遇到过这个问题吗?任何帮助将不胜感激我已经提出了一些解决方案,但它们并不具体。
【问题讨论】:
-
您是否在使用任何第三方 JAR 文件?
-
是的,SchemaFactory 类和 Validator 类在那个 jar 中可用
-
我得到了同样的错误,我想做的只是简单地构建这个:developer.android.com/guide/tutorials/views/hello-webview.html 按照信中的指示。 :(
-
你在这个项目中使用 maven 吗?
标签: android