We are writing an Android application (API Level 8 v2.2) that communicates with a java server through the internet. We are doing this by serialising objects to xml string using XStream 1.4.2. Accessing the classes in XStream's jar class library works through eclipse and the AVD emulator but causes a runtime exception when we try to run it on an actual android phone. We don't know what exception is being thrown but we have a hunch that it has to do with the class loader. Is there are fix or a work around to this problem please? Thank you.