Я только что натолкнулся на это и увидел множество других ошибок, вызванных банками, связанными с XML, в том числе:
[2011-05-20 12:57:50 - Android Hello] Dx
trouble processing "javax/xml/XMLConstants.class":
Ill-advised or mistaken usage of a core class (java.* or javax.*)
when not building a core library.
This is often due to inadvertently including a core library file
in your application's project, when using an IDE (such as
Eclipse). If you are sure you're not intentionally defining a
core class, then this is the most likely explanation of what's
going on.
Проблема исчезла после удаления xalan
, xercesImpl
и xml-apis
банок из проекта (я обычно включаю их в любые проекты, использующие HtmlUnit на рабочем столе).Предположительно они сталкиваются с версиями, включенными в SDK.