Hello all,
has anyone had any experience with using httpunit in an android
project? I have been unable to build my eclipse project once i have
imported the required files for httpunit.

When I import the httpuint jar files:

activation-1.1.jar
js-1.6R5.jar
jtidy-4aug2000r7-dev.jar
junit-3.8.1.jar
mail-1.4.jar
nekohtml-0.9.5.jar
servlet-api-2.4.jar
xercesImpl-2.6.1.jar
xmlParserAPIs-2.6.1.jar
httpunit.jar

After adding all the jar files to the build path of the project I
receive this error when trying to build:

trouble processing:
[2008-09-03 11:33:05 - votex] bad utf-8 byte a0 at offset 00000004
...while parsing cst 00bf at offset 000008dd
...while parsing cst 003c at offset 00000109
...while parsing org/apache/xerces/impl/xpath/regex/
ParserForXMLSchema.class
...while processing org/apache/xerces/impl/xpath/regex/
ParserForXMLSchema.class
[2008-09-03 11:33:05 - votex]
trouble processing:
[2008-09-03 11:33:05 - votex] bad utf-8 byte 80 at offset 00000021
...while parsing cst 0247 at offset 00001879
...while parsing cst 0051 at offset 0000016e
...while parsing org/apache/xerces/impl/xpath/regex/Token.class
...while processing org/apache/xerces/impl/xpath/regex/Token.class
[2008-09-03 11:33:09 - votex]
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/w3c/dom/Attr;
[2008-09-03 11:33:09 - votex]   at
com.google.dex.file.ClassDefsSection.add(ClassDefsSection.java:114)
[2008-09-03 11:33:09 - votex]   at
com.google.dex.file.DexFile.add(DexFile.java:103)
[2008-09-03 11:33:09 - votex]   at
com.google.command.dexer.Main.processClass(Main.java:364)
[2008-09-03 11:33:09 - votex]   at
com.google.command.dexer.Main.processFileBytes(Main.java:346)
[2008-09-03 11:33:09 - votex]   at
com.google.command.dexer.Main.processArchive(Main.java:311)
[2008-09-03 11:33:09 - votex]   at
com.google.command.dexer.Main.processOne(Main.java:233)
[2008-09-03 11:33:09 - votex]   at
com.google.command.dexer.Main.processAllFiles(Main.java:169)
[2008-09-03 11:33:09 - votex]   at
com.google.command.dexer.Main.run(Main.java:126)
[2008-09-03 11:33:09 - votex]   at
com.android.ide.eclipse.adt.build.ApkBuilder.executeDx(ApkBuilder.java:
569)
[2008-09-03 11:33:09 - votex]   at
com.android.ide.eclipse.adt.build.ApkBuilder.build(ApkBuilder.java:
380)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:
624)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
166)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
197)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:
246)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:
249)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:
302)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:
334)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
137)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:
235)
[2008-09-03 11:33:09 - votex]   at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[2008-09-03 11:33:10 - votex] 2 warnings
[2008-09-03 11:33:10 - votex] 1 error; aborting
[2008-09-03 11:33:10 - votex] Conversion to Dalvik format failed with
error 1

Does anyone have an idea about how to solve this problem?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new Android 0.9 SDK beta!
http://android-developers.blogspot.com/2008/08/announcing-beta-release-of-android-sdk.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to